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 Sat, 22 Feb 2003 15:21:04 GMT
nd          2003/02/22 07:21:04

  Modified:    .        Tag: APACHE_2_0_BRANCH CHANGES
               support  Tag: APACHE_2_0_BRANCH 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
  No                   revision
  
  
  No                   revision
  
  
  1.988.2.37 +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.988.2.36
  retrieving revision 1.988.2.37
  diff -u -r1.988.2.36 -r1.988.2.37
  --- CHANGES	22 Feb 2003 01:02:17 -0000	1.988.2.36
  +++ CHANGES	22 Feb 2003 15:21:03 -0000	1.988.2.37
  @@ -1,5 +1,9 @@
   Changes with Apache 2.0.45
   
  +  *) Fix suexec compile error under SUNOS4, where strerror() doesn't
  +     exist. PR 5913, 9977.
  +     [Jonathan W Miner <Jonathan.W.Miner@lmco.com>]
  +
     *) Fix If header parsing when a non-mod_dav lock token is passed to it.
        PR 16452.  [Justin Erenkrantz]
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.21.2.2  +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.21.2.1
  retrieving revision 1.21.2.2
  diff -u -r1.21.2.1 -r1.21.2.2
  --- suexec.c	3 Feb 2003 17:32:09 -0000	1.21.2.1
  +++ suexec.c	22 Feb 2003 15:21:04 -0000	1.21.2.2
  @@ -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