You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Roy Fielding <fi...@hyperreal.com> on 1996/12/02 17:07:26 UTC

cvs commit: apache/src conf.h httpd.h

fielding    96/12/02 08:07:25

  Modified:    src       conf.h httpd.h
  Log:
  It seemed like a bug to Randy that when compiled with defaults,
  Apache fails on systems that don't support the notion of
  negative group/user ids.  So he fixed it.
  
  Submitted by: Randy Terbush
  Reviewed by: Chuck Murcko, Roy Fielding
  
  Revision  Changes    Path
  1.49      +4 -0      apache/src/conf.h
  
  Index: conf.h
  ===================================================================
  RCS file: /export/home/cvs/apache/src/conf.h,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -C3 -r1.48 -r1.49
  *** conf.h	1996/12/01 20:28:15	1.48
  --- conf.h	1996/12/02 16:07:23	1.49
  ***************
  *** 293,298 ****
  --- 293,300 ----
    #undef NO_KILLPG
    #undef NO_SETSID
    #define JMP_BUF sigjmp_buf
  + #define DEFAULT_USER "nobody"
  + #define DEFAULT_GROUP "nobody"
    typedef quad_t rlim_t;
    
    #elif defined(UTS21)
  ***************
  *** 318,323 ****
  --- 320,327 ----
    #undef NO_SETSID
    #define JMP_BUF sigjmp_buf
    #define HAVE_MMAP
  + #define DEFAULT_USER "nobody"
  + #define DEFAULT_GROUP "nobody"
    typedef quad_t rlim_t;
    
    #elif defined(QNX)
  
  
  
  1.67      +4 -0      apache/src/httpd.h
  
  Index: httpd.h
  ===================================================================
  RCS file: /export/home/cvs/apache/src/httpd.h,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -C3 -r1.66 -r1.67
  *** httpd.h	1996/12/02 15:35:01	1.66
  --- httpd.h	1996/12/02 16:07:24	1.67
  ***************
  *** 102,109 ****
  --- 102,113 ----
    /* --------- Default user name and group name running standalone ---------- */
    /* --- These may be specified as numbers by placing a # before a number --- */
    
  + #ifndef DEFAULT_USER
    #define DEFAULT_USER "#-1"
  + #endif
  + #ifndef DEFAULT_GROUP
    #define DEFAULT_GROUP "#-1"
  + #endif
    
    /* The name of the log files */
    #ifdef __EMX__