httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/os/unix unixd.c unixd.h
Date Sun, 18 Jun 2000 03:05:42 GMT
trawick     00/06/17 20:05:42

  Modified:    src/os/unix unixd.c unixd.h
  Log:
  Make unixd_config.user_name const char * instead of char * to avoid
  a warning when the set-user-name command handler saves the address of
  the arg from the config file.
  
  Revision  Changes    Path
  1.19      +1 -1      apache-2.0/src/os/unix/unixd.c
  
  Index: unixd.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/unix/unixd.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- unixd.c	2000/06/17 16:29:53	1.18
  +++ unixd.c	2000/06/18 03:05:41	1.19
  @@ -159,7 +159,7 @@
   static int set_group_privs(void)
   {
       if (!geteuid()) {
  -	char *name;
  +	const char *name;
   
   	/* Get username if passed as a uid */
   
  
  
  
  1.11      +1 -1      apache-2.0/src/os/unix/unixd.h
  
  Index: unixd.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/unix/unixd.h,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- unixd.h	2000/06/17 16:29:53	1.10
  +++ unixd.h	2000/06/18 03:05:41	1.11
  @@ -77,7 +77,7 @@
   #endif
   
   typedef struct {
  -    char *user_name;
  +    const char *user_name;
       uid_t user_id;
       gid_t group_id;
   } unixd_config_rec;
  
  
  

Mime
View raw message