httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
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:20:45 GMT
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. 

>     #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.



Mime
View raw message