diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-06-26 14:08:19 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-06-26 14:08:19 +0000 |
commit | ca7088108b98e58cfcf388d8fca54e52e20cb022 (patch) | |
tree | a933ffbde7d327d9aa27ab4e10f9c7605e534cd7 /libc/misc/dirent/readdir.c | |
parent | 7064bb231f28745761fd211c310de87ef6583d08 (diff) |
ANSI/ISO specifies that no library function sets errno to 0.
Diffstat (limited to 'libc/misc/dirent/readdir.c')
-rw-r--r-- | libc/misc/dirent/readdir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/misc/dirent/readdir.c b/libc/misc/dirent/readdir.c index 1568199eb..81575283d 100644 --- 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; } |