[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module for temporary files in temporary directories
From: |
Ben Pfaff |
Subject: |
Re: new module for temporary files in temporary directories |
Date: |
Fri, 30 Jun 2006 09:11:33 -0700 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> /* Create a temporary directory.
> PREFIX is used as a prefix for the name of the temporary directory. It
> should be short and still give an indication about the program.
> Return a fresh 'struct temp_dir' on success. Upon error, an error message
> is shown and NULL is returned. */
> extern struct temp_dir * create_temp_dir (const char *prefix);
I find the description just a little confusing: PREFIX is a
prefix for the *base name* of the temporary directory. It
actually goes in the middle of the directory name.
I like the concept otherwise. I can probably drop some code from
GNU PSPP if this is installed. (PSPP also uses temporary files
for sorting.)
--
"Implementation details are beyond the scope of the Java virtual
machine specification. One should not assume that every virtual
machine implementation contains a giant squid."
--"Mr. Bunny's Big Cup o' Java"