aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/closedir.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-18 09:01:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-18 09:01:59 +0000
commit9eecb5e8f3903a6fe66ac88f9218935130e77042 (patch)
tree67594caa357c4117cf65e55663641086f41b892d /sysdeps/unix/closedir.c
parent488690121208fb26e6f87cdbbf9bf540fa4a7140 (diff)
downloadglibc-9eecb5e8f3903a6fe66ac88f9218935130e77042.zip
glibc-9eecb5e8f3903a6fe66ac88f9218935130e77042.tar.gz
glibc-9eecb5e8f3903a6fe66ac88f9218935130e77042.tar.bz2
Update.
1998-03-18 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc. Optimize memmory handling. * sysdeps/unix/closedir.c: Optmize memory handling.
Diffstat (limited to 'sysdeps/unix/closedir.c')
-rw-r--r--sysdeps/unix/closedir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/closedir.c b/sysdeps/unix/closedir.c
index a390318..a63fa53 100644
--- a/sysdeps/unix/closedir.c
+++ b/sysdeps/unix/closedir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1995, 1996, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -39,7 +39,6 @@ __closedir (DIR *dirp)
__libc_lock_lock (dirp->lock);
fd = dirp->fd;
- free ((void *) dirp->data);
__libc_lock_fini (dirp->lock);