[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36067] bug in exist() when checking for a fau
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #36067] bug in exist() when checking for a faulty mex/oct file |
Date: |
Sun, 15 Apr 2012 02:16:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 |
Follow-up Comment #6, bug #36067 (project octave):
I don't get any segfault, but I do get the reported error
error: caught execution error in library function
when executing the sample code. For reference, the exist function in
src/variables.cc calls symbol_exist () and that has the following:
size_t pos = name.find ('.');
if (pos != std::string::npos && pos > 0)
{
struct_elts = name.substr (pos+1);
symbol_name = name.substr (0, pos);
}
This means the extension '.bla' is not used initially when Octave attempts to
find a symbol match.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36067>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/