httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/support suexec.c
Date Wed, 12 Feb 2003 15:28:29 GMT
nd          2003/02/12 07:28:28

  Modified:    .        CHANGES
               support  suexec.c
  Log:
  Fix suexec compile error under SUNOS4, where strerror() doesn't exist.
  
  PR: 5913, 9977
  Submitted by: Jonathan W Miner <Jonathan.W.Miner@lmco.com>
  
  Revision  Changes    Path
  1.1060    +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1059
  retrieving revision 1.1060
  diff -u -r1.1059 -r1.1060
  --- CHANGES	11 Feb 2003 02:08:01 -0000	1.1059
  +++ CHANGES	12 Feb 2003 15:28:27 -0000	1.1060
  @@ -2,6 +2,10 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) Fix suexec compile error under SUNOS4, where strerror() doesn't
  +     exist. PR 5913, 9977.
  +     [Jonathan W Miner <Jonathan.W.Miner@lmco.com>]
  +
     *) Fix mod_auth_digest not to use local paths for the domain parameter
        on non-unix systems. PR 16937.  [André Malo]
   
  
  
  
  1.24      +5 -0      httpd-2.0/support/suexec.c
  
  Index: suexec.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/suexec.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- suexec.c	10 Feb 2003 03:37:22 -0000	1.23
  +++ suexec.c	12 Feb 2003 15:28:28 -0000	1.24
  @@ -111,6 +111,11 @@
   }
   #endif
   
  +#if defined(SUNOS4)
  +extern char *sys_errlist[];
  +#define strerror(x) sys_errlist[(x)]
  +#endif
  +
   #if defined(PATH_MAX)
   #define AP_MAXPATH PATH_MAX
   #elif defined(MAXPATHLEN)
  
  
  

Mime
View raw message