From ca7088108b98e58cfcf388d8fca54e52e20cb022 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Tue, 26 Jun 2001 14:08:19 +0000 Subject: ANSI/ISO specifies that no library function sets errno to 0. --- libc/misc/dirent/readdir.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libc/misc') 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; } -- cgit v1.2.3