diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2024-01-22 19:59:09 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-01-23 09:49:02 +0100 |
commit | 02572ff089dcefed1e2e25f420be975f1ee7340c (patch) | |
tree | fadc90fa52286ef17f0876c14c31082dd903f28a /winsup | |
parent | 72b6105518afd82e01abe946ba5867f98d6be37a (diff) | |
download | newlib-02572ff089dcefed1e2e25f420be975f1ee7340c.zip newlib-02572ff089dcefed1e2e25f420be975f1ee7340c.tar.gz newlib-02572ff089dcefed1e2e25f420be975f1ee7340c.tar.bz2 |
Cygwin: seekdir: don't set errno
Commit 3f3bd1010455 ("* Throughout, use __try/__except/__endtry blocks [...]")
introduced setting EINVAL, marked as "Diagnosis". The reason
for this is lost in time and space, but looks very much like
a debug helper which was supposed to be removed before release.
It's rather pointless, so remove it.
Fixes: 3f3bd1010455 ("* Throughout, use __try/__except/__endtry blocks [...]")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/dir.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index a181ce5..d67ac02 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -235,7 +235,6 @@ seekdir (DIR *dir, long loc) dir->__flags &= dirent_info_mask; ((fhandler_base *) dir->__fh)->seekdir (dir, loc); } - set_errno (EINVAL); /* Diagnosis */ } __except (EFAULT) {} __endtry |