Don't invoke localtime_r or gmtime_r unless it's the GNU C
authorJim Meyering <jim@meyering.net>
Sun, 18 Oct 1998 14:09:48 +0000 (14:09 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 18 Oct 1998 14:09:48 +0000 (14:09 +0000)
commit4fb556ee0e5ee81d678a23479545fc67f515bdbc
tree898c48d8602f5fce513b035eff5a7873db0afe06
parentc8503930321eaaedc7c72c094288d3b3121daa89
Don't invoke localtime_r or gmtime_r unless it's the GNU C
library's localtime_r and gmtime_r; there are too many buggy
implementations of localtime_r and gmtime_r out there, and
it's not worth keeping track of all the different bugs.

* strftime.c (__EXTENSIONS__): Remove.
(my_strftime_gmtime_r): Renamed from gmtime_r; all uses changed.
(my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
Base them on localtime/gmtime if not _LIBC.
lib/strftime.c