[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40490] io 1.2.4: odsread crashes if filename
From: |
Andreas Weber |
Subject: |
[Octave-bug-tracker] [bug #40490] io 1.2.4: odsread crashes if filename is short |
Date: |
Wed, 06 Nov 2013 14:54:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9 |
Follow-up Comment #1, bug #40490 (project octave):
I think this should be rewritten with function "fileparts". Something like:
[~, ~, EXT, ~] = fileparts (filename);
chk3 = strcmpi (EXT, '.ods');
chk4 = strcmpi (EXT, '.sxc');
chk5 = strcmpi (EXT, '.gnumeric');
.....
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40490>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/