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

[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 21:19:41 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #11, bug #49219 (project octave):

I agree this is a DNS or proxy issue.
curl of a regular URL does work on my system.

In the mean time this patch helps to run make check to completion.


diff -r ead11c8bd701 scripts/image/imfinfo.m
--- a/scripts/image/imfinfo.m   Wed Sep 28 15:13:02 2016 -0400
+++ b/scripts/image/imfinfo.m   Thu Sep 29 23:13:45 2016 +0200
@@ -173,7 +173,7 @@
 %! imformats ("update", "jpg", fmt);
 %! unwind_protect
 %!   try
-%!     imread ("I sure hope this file does not exist.jpg");
+%!     imread ("I_sure_hope_this_file_does_not_exist.jpg");
 %!   catch
 %!     error_thrown = true;
 %!   end_try_catch
diff -r ead11c8bd701 scripts/image/imread.m
--- a/scripts/image/imread.m    Wed Sep 28 15:13:02 2016 -0400
+++ b/scripts/image/imread.m    Thu Sep 29 23:13:45 2016 +0200
@@ -171,7 +171,7 @@
 %! imformats ("update", "jpg", fmt);
 %! unwind_protect
 %!   try
-%!     imread ("I sure hope this file does not exist.jpg");
+%!     imread ("I_sure_hope_this_file_does_not_exist.jpg");
 %!   catch
 %!     error_thrown = true;
 %!   end_try_catch


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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