apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@apache.org>
Subject Re: apr_file_temp_dir()
Date Wed, 13 Nov 2002 20:02:02 GMT
At 01:16 PM 11/13/2002, Greg Hudson wrote:
>On Wed, 2002-11-13 at 11:26, cmpilato@collab.net wrote:
>> This has been mentioned before -- at least by myself, perhaps by
>> others, too -- but the Subversion folks would *really* like to see APR
>> grow a gimme-a-temp-directory function.
>
>Would gimme-a-temp-file be a better interface?  Like mkstemp(), but
>without the template argument?  (And maybe returning an apr_file_t *
>instead of a file descriptor.)

I'd like them both, actually.

Another thing to consider, that I'll step up and code, would be the
apr_filepath_list_*() functions for colon v.s. semicolon (mopping up 
quoted strings) PATH or whatnot processing.

The only question; would returning an apr_array_header_t from _split
and merging only apr_array_header_t's in the _merge flavor work
for everyone?  Or what would be a better interface?

Bill


Mime
View raw message