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: Jaroslav Hajek
Subject: Re: temporary files not deleted after exit
Date: Thu, 26 Aug 2010 06:59:17 +0200

On Wed, Aug 25, 2010 at 10:16 PM, John W. Eaton <address@hidden> wrote:
> 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?
>

Hi John,

These exist in OctaveForge/general. If you wish, you can take them; so
far there was no need for them in Octave.

> | 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
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>



-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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