httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ics.uci.edu>
Subject Re: cvs commit: apache-1.3/src/main alloc.c util.c
Date Sat, 26 Sep 1998 19:21:09 GMT
>I'm think that API "docs" should be adjusted to specifically
>mention which routines trash and which maintain errno :/

All routines should be able to do it right all the time.  We need
to save and restore errno whenever the routine is expecting the
caller to look at errno for the error but we are not returning
immediately after the error occurred.

I suspect what we need is a general audit of system-like routines,
but you found the same ones that I did on a cursory inspection.
The others were already protected.

....Roy

Mime
View raw message