apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@collab.net
Subject Re: APR_TMP_DIRECTORY
Date Wed, 04 Dec 2002 19:39:05 GMT
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.

Mime
View raw message