httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: apache-1.3/src/support suexec.c
Date Sat, 22 Feb 2003 15:25:44 GMT
nd          2003/02/22 07:25:44

  Modified:    src      CHANGES
               src/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.1880    +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1879
  retrieving revision 1.1880
  diff -u -r1.1879 -r1.1880
  --- CHANGES	19 Feb 2003 20:39:58 -0000	1.1879
  +++ CHANGES	22 Feb 2003 15:25:43 -0000	1.1880
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3.28
   
  +  *) Fix suexec compile error under SUNOS4, where strerror() doesn't
  +     exist. PR 5913, 9977.
  +     [Jonathan W Miner <Jonathan.W.Miner@lmco.com>]
  +
     *) Unix build: Add support for environment variable 
        EXTRA_LDFLAGS_SHLIB, which allows the user to add to the hard-coded 
        ld flags specified for DSOs.  Compare with the existing LDFLAGS_SHLIB 
  
  
  
  1.60      +5 -0      apache-1.3/src/support/suexec.c
  
  Index: suexec.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/support/suexec.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- suexec.c	10 Feb 2003 15:40:53 -0000	1.59
  +++ suexec.c	22 Feb 2003 15:25:44 -0000	1.60
  @@ -111,6 +111,11 @@
   }
   #endif
   
  +#if defined(NEED_STRERROR)
  +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