[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48080] file_in_loadpath fails after saving
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #48080] file_in_loadpath fails after saving |
Date: |
Wed, 1 Jun 2016 21:48:47 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Update of bug #48080 (project octave):
Summary: file_in_loadpath fails after hgsave =>
file_in_loadpath fails after saving
_______________________________________________________
Follow-up Comment #1:
Hi,
hgsave is not needed, saving data files or creating a file in a
script/function is enough to trigger the bug, e.g:
a = 1;
save foo.var a
## "rehash" here is a workaround
filp = file_in_loadpath ("foo.var");
if (isempty (filp))
error ("File foo.var not found");
endif
It is not a duplicate but resembles bug #40319. Besides "pause", "rehash" also
fixes the issue.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48080>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/