Received: (qmail 63132 invoked by uid 65534); 22 Mar 2000 17:34:11 -0000 Message-Id: <20000322173411.63131.qmail@locus.apache.org> Date: 22 Mar 2000 17:34:11 -0000 From: Jonathan W Miner Reply-To: Jonathan.W.Miner@lmco.com To: submit@bugz.apache.org Subject: suexec.c does not compile, problem with "strerror" X-Send-Pr-Version: 3.110 >Number: 5913 >Category: suexec >Synopsis: suexec.c does not compile, problem with "strerror" >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: change-request >Submitter-Id: apache >Arrival-Date: Wed Mar 22 09:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Jonathan.W.Miner@lmco.com >Release: 1.3.12 >Organization: apache >Environment: SunOS 4.1.4, gcc-2.95.1 >Description: There is no strerror() call in SunOS 4.1.4. The link phase fails. >How-To-Repeat: >Fix: Add the following to the suexec.c code, following all the #include statements. #ifdef SUNOS4 extern char *sys_errlist[]; #define strerror(x) sys_errlist[(x)] #endif >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]