OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7064bb2
)
ANSI/ISO specifies that no library function sets errno to 0.
author
Manuel Novoa III
<mjn3@codepoet.org>
Tue, 26 Jun 2001 14:08:19 +0000
(14:08 -0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Tue, 26 Jun 2001 14:08:19 +0000
(14:08 -0000)
libc/misc/dirent/readdir.c
patch
|
blob
|
history
diff --git
a/libc/misc/dirent/readdir.c
b/libc/misc/dirent/readdir.c
index
1568199
..
8157528
100644
(file)
--- a/
libc/misc/dirent/readdir.c
+++ b/
libc/misc/dirent/readdir.c
@@
-55,7
+55,5
@@
struct dirent *readdir(DIR * dir)
/* We have to save the next offset here. */
dir->dd_nextoff = de->d_off;
- __set_errno(0);
-
return de;
}