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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #42614] exist problems with incorrect mex file


From: Rik
Subject: [Octave-bug-tracker] [bug #42614] exist problems with incorrect mex files
Date: Thu, 26 Jun 2014 15:58:14 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Update of bug #42614 (project octave):

                  Status:                   Fixed => Confirmed              
             Open/Closed:                  Closed => Open                   
                 Summary: exist returns 3 for 'mexfunction', but 2 for
'mexfunction.mex' => exist problems with incorrect mex files

    _______________________________________________________

Follow-up Comment #8:

I'm re-opening the bug.  There is a deep problem when the file has a name that
looks like a mex file, but is not in fact a mex file.  The example of a text
file with "Hello World" in it shows this.

Under the development branch with all of the latest changes to exist, I get


exist ('mexfunction')
error: caught execution error in library function


This is related to bug #36067.  The problem is that in checking for a built-in
Octave looks in the symbol table for the name.  If it doesn't find it in the
symbol table, but does find what looks like a possible mex file, it tries to
load it.  This generates the exception.  It would be nice if there were a way
to simply query the symbol table, but functions would not be loaded until they
were asked for, i.e., someone typed the function name on the command line and
tried to invoke it. 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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