summaryrefslogtreecommitdiff
path: root/libc/misc/dirent
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-06-26 14:08:19 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-06-26 14:08:19 +0000
commitca7088108b98e58cfcf388d8fca54e52e20cb022 (patch)
treea933ffbde7d327d9aa27ab4e10f9c7605e534cd7 /libc/misc/dirent
parent7064bb231f28745761fd211c310de87ef6583d08 (diff)
ANSI/ISO specifies that no library function sets errno to 0.
Diffstat (limited to 'libc/misc/dirent')
-rw-r--r--libc/misc/dirent/readdir.c2
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;
}