(updwtmp_file): Use the same method for appending an entry as in
authordrepper <drepper>
Thu, 19 Jun 1997 18:20:00 +0000 (18:20 +0000)
committerdrepper <drepper>
Thu, 19 Jun 1997 18:20:00 +0000 (18:20 +0000)
commitc59b806c78002db1b208ac86743b207eb67623f2
treeb5eebacf64ede8915e4ec872fe3fcbb085a71e80
parentc4e5377d9ee652ad8f24598186aa9e994e0b8001
(updwtmp_file): Use the same method for appending an entry as in
pututline_file.
(getutent_r_file): Use read lock instead of write lock.
(getutline_r_file, internal_getut_r): Lock utmp file.
(updwtmp_file): Use fcntl to lock file instead of flock.
login/utmp_file.c