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

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

[Octave-bug-tracker] [bug #57439] handles to private functions may fail


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions"
Date: Wed, 26 Feb 2020 13:58:34 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #22, bug #57439 (project octave):

I also see the test suite taking longer on my Debian system but it is not as
bad as Philip reports for Windows.

I see now that canonicalize_file_name has to do a lot of work each time to
check for symbolic links.  I wasn't thinking about that when I made the
change.  I think we do need to store the full file name so we can correctly
reload those handles to private functions.  But maybe we can use the absolute
name instead of the canonical name?  That should be more efficient.  Maybe we
can also reduce the number of calls to make the directory or file name
absolute?  Does the attached change help?

(file #48502)
    _______________________________________________________

Additional Item Attachment:

File name: make-absolute-diffs.txt        Size:3 KB
    <https://savannah.gnu.org/file/make-absolute-diffs.txt?file_id=48502>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57439>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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