httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@hyperreal.org>
Subject cvs commit: apache/support Makefile.tmpl suexec.c
Date Sun, 20 Jul 1997 23:44:51 GMT
dgaudet     97/07/20 16:44:50

  Modified:    support   Makefile.tmpl suexec.c
  Log:
  htdigest needs $(LIBS).  QNX doesn't support initgroups.
  
  Submitted by:	Igor N Kovalenko <infoh@mail.wplus.net>
  Reviewed by:	Dean Gaudet
  
  Revision  Changes    Path
  1.4       +1 -1      apache/support/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===================================================================
  RCS file: /export/home/cvs/apache/support/Makefile.tmpl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -C3 -r1.3 -r1.4
  *** Makefile.tmpl	1997/07/14 11:56:08	1.3
  --- Makefile.tmpl	1997/07/20 23:44:49	1.4
  ***************
  *** 19,25 ****
    	$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)
    
    htdigest: htdigest.c
  ! 	$(CC) $(CFLAGS) htdigest.c -o htdigest
    
    httpd_monitor: httpd_monitor.c
    	$(CC) $(INCLUDES) $(CFLAGS) httpd_monitor.c -o httpd_monitor
  --- 19,25 ----
    	$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)
    
    htdigest: htdigest.c
  ! 	$(CC) $(CFLAGS) htdigest.c -o htdigest $(LIBS)
    
    httpd_monitor: httpd_monitor.c
    	$(CC) $(INCLUDES) $(CFLAGS) httpd_monitor.c -o httpd_monitor
  
  
  
  1.24      +18 -0     apache/support/suexec.c
  
  Index: suexec.c
  ===================================================================
  RCS file: /export/home/cvs/apache/support/suexec.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -C3 -r1.23 -r1.24
  *** suexec.c	1997/06/23 22:48:48	1.23
  --- suexec.c	1997/07/20 23:44:49	1.24
  ***************
  *** 81,86 ****
  --- 81,104 ----
    #include <time.h>
    #include <sys/stat.h>
    
  + /*
  +  ***********************************************************************
  +  * There is no initgroups() in QNX, so I believe this is safe :-)
  +  * Use cc -osuexec -3 -O -mf -DQNX suexec.c to compile.
  +  *
  +  * May 17, 1997.
  +  * Igor N. Kovalenko -- infoh@mail.wplus.net
  +  ***********************************************************************
  +  */
  + 
  + #if defined(QNX)
  + int initgroups(const char *name, gid_t basegid)
  + {
  + /* QNX and MPE do not appear to support supplementary groups. */
  + 	return 0;
  + }
  + #endif
  + 
    #if defined(PATH_MAX)
    #define AP_MAXPATH PATH_MAX
    #elif defined(MAXPATHLEN)
  
  
  

Mime
View raw message