[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: apr_file_temp_dir()

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-11-13 20:30:09 CET

On Wed, 2002-11-13 at 14:21, Philip Martin wrote:
> Suppose I want to create a temporary directory (quite a common
> technique to avoid certain security problems)?

I feel like it is more consistent with the current APR interfaces to
have:

  apr_file_t *apr_temp_file(apr_pool_t *pool)
  char *apr_temp_dir(apr_pool_t *pool)

(where the latter creates a new temporary directory) than to have an
apr_get_temp_dir() which the caller uses to construct temporary files
and directories.

I would also say that providing apr_temp_dir() could wait until there is
an identified demand for it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 13 20:31:03 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.