httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: cvs commit: apache/src http_conf_globals.h http_config.c http_core.c http_main.c httpd.h
Date Sat, 28 Jun 1997 23:46:05 GMT
On Sat, 28 Jun 1997, Marc Slemko wrote:

> On Sat, 28 Jun 1997, Dean Gaudet wrote:
> 
> >   ***************
> >   *** 970,975 ****
> >   --- 970,980 ----
> >         return NULL;
> >     }
> >     
> >   + const char *set_lockfile (cmd_parms *cmd, void *dummy, char *arg) {
> >   +     lock_fname = pstrdup (cmd->pool, arg);
> >   +     return NULL;
> >   + }
> >   + 
> 
> This code should check to see if it is in a virtual server and whine if
> so. 

Yep.  But I think I'm done for today.

> 
> >     #endif
> >     #endif /* WIN32 */
> >     
> >   + #if defined(USE_FCNTL_SERIALIZED_ACCEPT) || defined(USE_FLOCK_SERIALIZED_ACCEPT)
> >   + static void expand_lock_fname(pool *p)
> >   + {
> >   +     char buf[20];
> >   + 
> >   +     ap_snprintf( buf, sizeof(buf)-1, ".%u", getpid() );
> >   +     buf[sizeof(buf)-1] = 0;
> 
> This should be '\0', not 0.

They're the same thing.

Dean


Mime
View raw message