www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. D. Parker" <m...@netcom.com>
Subject Re: suexec/1543: suexec.c -- Does not report exec failure reasons
Date Fri, 12 Dec 1997 19:50:00 GMT
The following reply was made to PR suexec/1543; it has been noted by GNATS.

From: "M. D. Parker" <mdpc@netcom.com>
To: Marc Slemko <marcs@znep.com>
Cc: apbugs@hyperreal.org
Subject: Re: suexec/1543: suexec.c -- Does not report exec failure reasons
Date: Fri, 12 Dec 97 11:41:44 PST

 Problem with the patch seems to be in the evaluation of the parameters
 pushed onto the stack before the call.  It seems that at least in my gcc
 implementation, the value of errno gets changed before being printed out,
 but the strerror() call reports the right textual error.
 
 Suggest that you change the patch as follows:
 
 .
 .
 .
 int errx;	/* error numb holder */
 .
 .
 .
         errx=errno;
     log_err("(%d)%s: exec failed (%s)\n", errx, strerror(errx), cmd);
 
 Mike

Mime
View raw message