[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57439] handles to private functions may fail
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions" |
Date: |
Thu, 12 Mar 2020 14:40:38 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #47, bug #57439 (project octave):
On Linux, if we don't need the rest of the information, we could try using
access(). This checks file permissions, rather than grabbing all of the
stat() data from the inode.
#include <unistd.h>
int access(const char *pathname, int mode);
Importantly, mode can be F_OK, which means just test for the existence of the
file, rather than actually checking permissions.
We would want to benchmark it to make sure it was faster.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57439>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Philip Nienhuis, 2020/03/01
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Philip Nienhuis, 2020/03/01
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", John W. Eaton, 2020/03/01
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", John W. Eaton, 2020/03/01
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Philip Nienhuis, 2020/03/01
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Dmitri A. Sergatskov, 2020/03/01
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Rik, 2020/03/01
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", John W. Eaton, 2020/03/10
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Markus Mützel, 2020/03/12
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions",
Rik <=
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Rik, 2020/03/12
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", John W. Eaton, 2020/03/12
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Markus Mützel, 2020/03/16
- [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions", Rik, 2020/03/17