apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <di...@webweaving.org>
Subject Re: APR_TMP_DIRECTORY
Date Thu, 05 Dec 2002 14:28:01 GMT

> > Obviously, platforms that have a well-known temp directory could implement
> > their own apr_get_temp_dir to just return the correct string, but for
> > Unix platforms, there are three or four "correct" temp locations based on
> > platform and how the admin has things setup.
>
> True. That would seem to fit the bill. We could also check for permission
> access on unix platforms so we were sure we could write there...

But on most unixes - your libc knows how to handle those when you use
interfaces like tmpnam. And I've seen some platforms where this
determination was complex; depending on uid and login class.

Dw


Mime
View raw message