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)
commit26119e04afb6bade566858b4f871029a4a34fff1
tree27390d57c03305a026dca14cebf08a65d06b03e3
parentd37eda272fb7b153911e44d49be4b96140894074
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