diff options
author | 1996-10-02 01:40:17 +0000 | |
---|---|---|
committer | 1996-10-02 01:40:17 +0000 | |
commit | a68b0d31a37a86785b3dbeeee3fad96ee71fadcd (patch) | |
tree | 61537b1f028002a9e6e0f5354fced6128bda8b9c /sysdeps/unix/readdir.c | |
parent | Untabify. (diff) | |
download | glibc-a68b0d31a37a86785b3dbeeee3fad96ee71fadcd.tar.xz glibc-a68b0d31a37a86785b3dbeeee3fad96ee71fadcd.zip |
update from main archive 961001
Diffstat (limited to 'sysdeps/unix/readdir.c')
-rw-r--r-- | sysdeps/unix/readdir.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/unix/readdir.c b/sysdeps/unix/readdir.c index 491469bcd1..97956ecd06 100644 --- a/sysdeps/unix/readdir.c +++ b/sysdeps/unix/readdir.c @@ -34,12 +34,6 @@ __readdir (DIR *dirp) { struct dirent *dp; - if (dirp == NULL || dirp->data == NULL) - { - __set_errno (EINVAL); - return NULL; - } - __libc_lock_lock (dirp->lock); do |