httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject Re: [PATCH] ap_strerror()
Date Wed, 29 Mar 2000 16:28:23 GMT


Why are you trying to add all of the code into one c file?  Each OS has
different things they need handle.

This is an incredibly simple function to write.  I gave the psuedo-code
for Unix yesterday.  For Windows, replace strerror with whatever generates
error strings on Windows.

Check this into a file called strerror in the misc/foo directory.

You are trying to make this too complicated, and it is a very easy thing
to do.

Ryan

On Wed, 29 Mar 2000, Jeff Trawick wrote:

> handle these types of ap_status_t values on this pass:
> 
> . errno
> . APR errors (APR_ENOSTAT, APR_ENOPOOL, etc.) and status codes
> . OS-specific primary error codes
>   + Win32: Windows errors (ERROR_INVALID_FUNCTION, ERROR_FILE_NOT_FOUND, etc.)


Mime
View raw message