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: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions"
Date: Thu, 12 Mar 2020 14:23:05 -0400 (EDT)
User-agent: Mozilla/5.0 (Linux; Android 10; J9210) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Mobile Safari/537.36

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

If we are only interested in whether a file or folder of the given name
exists, it might be more efficient on Windows to call GetFileAttributesW [1]
and check the return value against INVALID_FILE_ATTRIBUTES.

Not sure what an equivalent function call on Linux would be. But if stat'ing
is fast there, we could continue doing that.

[1]:
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfileattributesw

    _______________________________________________________

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]