www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan W Miner <Jonathan.W.Mi...@lmco.com>
Subject suexec/5913: suexec.c does not compile, problem with "strerror"
Date Wed, 22 Mar 2000 17:34:11 GMT

>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 <apbugs@Apache.Org> 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!     ]
 
 


Mime
View raw message