apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: APR_TMP_DIRECTORY
Date Thu, 05 Dec 2002 21:09:30 GMT

On Thursday, December 5, 2002, at 01:07  PM, <rbb@apache.org> wrote:
> What exactly is the argument against using the proposed API?  That we
> shouldn't use environment variables?  The environment variables are a
> mechanism that some platforms use for locating the temp directory.  To
> ignore them would be stupid and it would make it harder to APR app
> developers to write their code.

Unix does not use environment variables for locating a temp directory.
That's fine if Windows does that, and that's fine if some Unix apps
decide they want to do it that way, but it is not standard and it
not defensive system programming.

Can anyone think of a case where temp files on Unix do not belong in
either 1) /tmp or 2) a user-defined location?

-aaron


Mime
View raw message