help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: temporary files not deleted after exit


From: John W. Eaton
Subject: Re: temporary files not deleted after exit
Date: Wed, 25 Aug 2010 16:16:06 -0400

On 25-Aug-2010, Judd Storrs wrote:

| On Wed, Aug 25, 2010 at 3:06 PM, Muhali <address@hidden> wrote:
| 
|     in that case I would not use a temporary name. If none of these files are
|     temporary, what then is a 'temporary' file?
| 
| Files opened with mkstemp() and tmpfile(), but I don't see anyway to use those
| with save().

Should we have fsave and fload functions that accept file IDs instead of
names?

| I could have sworn I once came across a function that would add
| files to the list of files to be deleted on exit, but I can't find
| it now so I must be hallucinating?

Look at mark_for_deletion in file-io.cc.  But it is not exported to
the interpreter level.  Should we do that?

Maybe discussion about these questions would be more appropriate for
the maintainers list.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]