[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filenam
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces |
Date: |
Thu, 29 Sep 2016 18:03:15 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #4, bug #49219 (project octave):
./run-octave -x show it hangs in urlwrite (called in imageIO line 64)
+ if (isempty (fn) && !isempty (varargin))
+ ## Maybe if we add a file extension
+ fn = abs_path ([filename, ".", varargin{1}]);
+ endif
+ ## Maybe we have an URL
+ if (isempty (fn))
+ file_2_delete = true;
+ ## mark file for deletion
+ [fn, ~] = urlwrite (filename, tempname ());
+ ## Maybe the URL is missing the file extension
+ if (isempty (fn) && !isempty (varargin))
+ [fn, ~] = urlwrite ([filename, ".", varargin{1}], tempname ());
+ endif
+ if (isempty (fn))
+ error ("%s: unable to find file %s", func, filename);
+ endif
+ endif
+ file_2_delete = true;
+ ## mark file for deletion
+ [fn, ~] = urlwrite (filename, tempname ());
curl version is 7.29.0
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49219>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, anonymous, 2016/09/28
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, Rik, 2016/09/28
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, Avinoam Kalma, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, Mike Miller, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces,
anonymous <=
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, Rik, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, anonymous, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, anonymous, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, Rik, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, Mike Miller, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, Mike Miller, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, anonymous, 2016/09/29
- [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces, Rik, 2016/09/29