update from main archive 961215cvs/libc-961216
commit860d3729868a749f782f6ad5dae1138cb239c4d3
authorUlrich Drepper <drepper@redhat.com>
Mon, 16 Dec 1996 01:40:21 +0000 (16 01:40 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 16 Dec 1996 01:40:21 +0000 (16 01:40 +0000)
tree3722e55d8a4059529325df0e6c5ffbd168adbd88
parent68dbb3a69e78e24a778c6602c8cc91d715839d08
update from main archive 961215

Mon Dec 16 02:15:42 1996  Ulrich Drepper  <drepper@cygnus.com>

Make sure tzset() sets always tzname[].
* time/tzfile.c: De-ANSI-declfy.
(find_transition): New function.  Set tzname according to given time.
(__tzread_file): Use find_transition to set tzname.
(__tzfile_compute): Use find_transition instead of doing the work
self.
* time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.

Sun Dec 15 16:52:34 1996  Ulrich Drepper  <drepper@cygnus.com>

* login/utmp-file.c (pututline_file): Open file if closed.
Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
Use fcntl instead of flock.

Sun Dec 15 14:20:51 1996  Ulrich Drepper  <drepper@cygnus.com>

* manual/time.texi: Update documentation of strftime function.
ChangeLog
login/utmp_file.c
manual/time.texi
time/tzfile.c
time/tzset.c