apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@apache.org>
Subject Re: APR_TMP_DIRECTORY
Date Wed, 04 Dec 2002 21:03:09 GMT


On 4 Dec 2002 cmpilato@collab.net wrote:

> Juan Rivera <Juan.Rivera@citrix.com> writes:
>
> > Along those lines would be the ability to generate a unique temporary file
> > name. Windows provides that functionality. I think it can be very handy.
>
> Subversion has a custom routine for doing that, too.  You specify a
> prefix path (like "/tmp/svn-commit") and a suffix (like "tmp") and the
> result looks like "/tmp/svn-commit.12345.00000.tmp", where 12345 is, I
> think, some pointer value, and 00000 is a monotonically increasing
> trail-and-error countery thing.
>
> Be great if APR grew such a routine, too.

This would be simple to add, because we already have this feature
internally.  The only thing we would have to do, is expose it through an
API.

Ryan


Mime
View raw message