httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@devsys.jaguNET.com>
Subject Re: cvs commit: apache-2.0/src/modules/mpm/mpmt_pthread acceptlock.c scoreboard.c
Date Sat, 11 Sep 1999 16:35:54 GMT
rbb@hyperreal.org wrote:
> 
> rbb         99/09/11 08:58:44
> 
>   Modified:    src/modules/mpm/dexter acceptlock.c
>                src/modules/mpm/mpmt_pthread acceptlock.c scoreboard.c
>   Log:
>   This change should allow Apache to build on all platforms with the popenf
>   changes.  I have not been able to test this, but it should be evident what I
>   am doing if it doesn't work.
>   
>   Revision  Changes    Path
>   1.7       +6 -3      apache-2.0/src/modules/mpm/dexter/acceptlock.c
>   
>   Index: acceptlock.c
>   ===================================================================
>   RCS file: /home/cvs/apache-2.0/src/modules/mpm/dexter/acceptlock.c,v
>   retrieving revision 1.6
>   retrieving revision 1.7
>   diff -u -r1.6 -r1.7
>   --- acceptlock.c	1999/09/08 18:58:46	1.6
>   +++ acceptlock.c	1999/09/11 15:58:35	1.7
>   @@ -574,12 +574,14 @@
>     */ 
>    void accept_mutex_child_init(ap_context_t *p)
>    {
>   +    ap_file_t *tempfile = NULL;
>        int i;
>      
>        for (i = 0; i < lock_count; i++) {
>            char *lock_fname = expand_lock_fname(p, i);
>        
>   -        lock_fd[i] = ap_popenf(p, lock_fname, O_WRONLY, 0600);
>   +        ap_open(p, lock_fname, APR_WRITE, APR_UREAD | APR_UWRITE, &tempfile);
>   +        ap_get_os_file(tempfile, *lock_fd[i]);

'*lock_fd[i]'

Is that right?

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

Mime
View raw message