octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48080] file_in_loadpath fails after saving


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #48080] file_in_loadpath fails after saving
Date: Thu, 2 Jun 2016 00:51:07 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #2, bug #48080 (project octave):

Pantxo, Rik said that "pause" does *not* fix the issue.

I think that is because the ageing of files (and seemingly also directories)
only checks for existence if the file has not been accessed since the last
command line was processed.  Rehash bypasses that ageing process, but pause
doesn't alter the timestamp of the last command line.

Rik's problem could be fixed if save/fopen/hgsave/imwrite etc add the file to
the hash table explicitly.  That would be faster than a complete rehash of the
whole load path.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48080>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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