Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Tue, 9 Jul 1996 14:48:14 +0000 (14:48 +0000)
committerroland <roland>
Tue, 9 Jul 1996 14:48:14 +0000 (14:48 +0000)
commit9a637befd2299f2504360d2e31b47d7d79a74d23
tree7ed3ced834694203f0792ff6fe40efc4be1d10b2
parent95ed15ef5f392884219185a98403aaa4a39659b2
Tue Jul  9 09:37:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/libc-lock.h: New file.
* sysdeps/unix/readdir.c: Do locking.
* sysdeps/unix/seekdir.c: Likewise.
* sysdeps/unix/rewinddir.c:  Likewise.
* sysdeps/unix/closedir.c: Likewise.
* sysdeps/unix/bsd/telldir.c: Likewise.
* sysdeps/mach/hurd/seekdir.c: Likewise.
* sysdeps/mach/hurd/readdir.c: Likewise.
* sysdeps/mach/hurd/closedir.c: Likewise.
* sysdeps/mach/hurd/opendir.c: Initialize the lock.
* sysdeps/unix/opendir.c: Likewise.
* sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
(struct __dirstream): Add lock member using __libc_lock_define.
* sysdeps/unix/dirstream.h: Likewise.
13 files changed:
sysdeps/mach/hurd/closedir.c
sysdeps/mach/hurd/dirstream.h
sysdeps/mach/hurd/opendir.c
sysdeps/mach/hurd/readdir.c
sysdeps/mach/hurd/seekdir.c
sysdeps/mach/libc-lock.h [new file with mode: 0644]
sysdeps/unix/bsd/telldir.c
sysdeps/unix/closedir.c
sysdeps/unix/dirstream.h
sysdeps/unix/opendir.c
sysdeps/unix/readdir.c
sysdeps/unix/rewinddir.c
sysdeps/unix/seekdir.c