projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d413445
)
2000-04-28 Geoff Clare <gwc@unisoft.com>
author
Andreas Jaeger
<aj@suse.de>
Fri, 28 Apr 2000 16:44:25 +0000
(16:44 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Fri, 28 Apr 2000 16:44:25 +0000
(16:44 +0000)
* io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
path passed to ftw() or nftw() is an empty string.
Closes PR libc/1710.
io/ftw.c
patch
|
blob
|
history
diff --git
a/io/ftw.c
b/io/ftw.c
index
3428fcf
..
e832fbb
100644
(file)
--- a/
io/ftw.c
+++ b/
io/ftw.c
@@
-472,7
+472,7
@@
ftw_startup (const char *dir, int is_nftw, void *func, int descriptors,
/* First make sure the parameters are reasonable. */
if (dir[0] == '\0')
{
- __set_errno (ENO
TDIR
);
+ __set_errno (ENO
ENT
);
return -1;
}