|
From: | Avinoam Kalma |
Subject: | [Octave-bug-tracker] [bug #49779] print /non/existing/dir/file.svg crashes octave |
Date: | Wed, 7 Dec 2016 07:33:38 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #3, bug #49779 (project octave): What about trivial check of directory existance in print.m? opts = __print_parse_opts__ (varargin{:}); folder = fileparts (opts.name); if (~isempty(folder)) if (~exist(folder,'dir')) error ('directory does not exist'); end end _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49779> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |