[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat fa
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat fails, an error is thrown unnecessarily |
Date: |
Fri, 12 Jul 2019 12:14:14 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #56618 (project octave):
Status: Need Info => Ready For Test
Release: 5.1.0 => dev
Summary: In dir.m, if internal call to lstat falis, an error
is thrown unnecessarily => In dir.m, if internal call to lstat fails, an
error is thrown unnecessarily
_______________________________________________________
Follow-up Comment #5:
I think you're right that there is a race condition between when we get the
file name, and when we check its properties.
For the issue with stat, I think the best course is to change the code too
look for nf > 0 before proceeding.
The issue with lstat is a little trickier. I chose to remove the file from
the list if lstat fails.
Try the development branch after this cset
(https://hg.savannah.gnu.org/hgweb/octave/rev/733431da9742).
Marking as Ready For Test.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56618>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat falis, an error is thrown unnecessarily, Richard, 2019/07/11
- [Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat falis, an error is thrown unnecessarily, Richard, 2019/07/11
- [Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat falis, an error is thrown unnecessarily, Rik, 2019/07/11
- [Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat falis, an error is thrown unnecessarily, Richard, 2019/07/12
- [Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat falis, an error is thrown unnecessarily, Richard, 2019/07/12
- [Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat fails, an error is thrown unnecessarily,
Rik <=
- [Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat fails, an error is thrown unnecessarily, Richard, 2019/07/15
- [Octave-bug-tracker] [bug #56618] In dir.m, if internal call to lstat fails, an error is thrown unnecessarily, Rik, 2019/07/15