From cvs-return-14836-apmail-httpd-cvs-archive=httpd.apache.org@httpd.apache.org Wed Feb 12 15:28:30 2003 Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 5138 invoked by uid 500); 12 Feb 2003 15:28:30 -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 5091 invoked by uid 500); 12 Feb 2003 15:28:29 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 12 Feb 2003 15:28:29 -0000 Message-ID: <20030212152829.53122.qmail@icarus.apache.org> From: nd@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/support suexec.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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 ] + *) 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)