Update.cvs/libc-ud-980518
commitefea715879243534d1c1be9e26f9136548d34e08
authorUlrich Drepper <drepper@redhat.com>
Mon, 18 May 1998 15:26:40 +0000 (18 15:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 18 May 1998 15:26:40 +0000 (18 15:26 +0000)
treea4fafe006f65925b75accb0c199cfd4bb042dd68
parent298f256698b74e76273f51284d213103cbe65987
Update.

1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
(timeout_handler): New function.
(LOCK_FILE, UNLOCK_FILE): New macros.
Implement file locking with timeout.
(getutent_r_file, internal_getut_r, getutline_r_file,
pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
locking.
ChangeLog
sysdeps/generic/utmp_file.c