From cvs-return-14992-apmail-httpd-cvs-archive=httpd.apache.org@httpd.apache.org Sat Feb 22 15:25:45 2003 Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 72904 invoked by uid 500); 22 Feb 2003 15:25:45 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 72888 invoked by uid 500); 22 Feb 2003 15:25:45 -0000 Delivered-To: apmail-apache-1.3-cvs@apache.org Date: 22 Feb 2003 15:25:44 -0000 Message-ID: <20030222152544.60190.qmail@icarus.apache.org> From: nd@apache.org To: apache-1.3-cvs@apache.org Subject: cvs commit: apache-1.3/src/support suexec.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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 ] + *) 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)