|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #40274] unpack error on failure to move files into destination dir |
| Date: | Tue, 22 Oct 2013 01:47:20 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36 |
Update of bug #40274 (project octave):
Category: None => Octave Function
Item Group: None => Incorrect Result
Status: None => Confirmed
Summary: unpack into /tmp name clash => unpack error on
failure to move files into destination dir
_______________________________________________________
Follow-up Comment #4:
Confirmed in two cases. First, your case where you are unpacking from a URL
string into /tmp. This is because the URL is first saved to a temporary file
in /tmp and then the unpack function fails to recognize that the file is
already in /tmp so it doesn't need to be moved.
The other case is when an absolute or relative path are given to a file to
unpack and the destination directory is actually the same path.
There is logic in the function already to try to figure out when it needs to
move files or not, but that only works if the first argument is a plain file
with no path component.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40274>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |