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
>Originator:     Jonathan.W.Miner@lmco.com
>Release:        1.3.12
SunOS 4.1.4, gcc-2.95.1
There is no strerror() call in SunOS 4.1.4.  The link phase fails.

Add the following to the suexec.c code, following all the #include

#ifdef SUNOS4
extern char *sys_errlist[];
#define strerror(x) sys_errlist[(x)]
 [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!     ]

View raw message