]> sourceware.org Git - newlib-cygwin.git/commit
Add _tzset_unlocked and _tzset_unlocked_r
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 31 Mar 2015 09:14:22 +0000 (11:14 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 23 Apr 2015 19:57:08 +0000 (21:57 +0200)
commitc11779332651dd2f3b12f5ec48202fa7e547272b
tree5480c352463a0d12e8f9c44e68fc44c83a7162a1
parent382fa90fe1fdd0f363088a28a5be12a4548099b4
Add _tzset_unlocked and _tzset_unlocked_r

newlib:

* libc/time/local.h (_tzset_unlocked_r): Add prototype.
(_tzset_unlocked): Ditto.
* libc/time/tzset.c (_tzset_unlocked): New function, call
_tzset_unlocked_r.
(tzset): Lock and call _tzset_unlocked_r.
* libc/time/tzset_r (_tzset_unlocked_r): Remove locking and rename
from _tzset_r.
(_tzset_r): Lock and call _tzset_unlocked_r.

cygwin:

* localtime.cc (tzset_unlocked): Export as _tzset_unlocked.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
newlib/ChangeLog
newlib/libc/time/local.h
newlib/libc/time/tzset.c
newlib/libc/time/tzset_r.c
winsup/cygwin/ChangeLog
winsup/cygwin/localtime.cc
This page took 0.032687 seconds and 5 git commands to generate.