]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Don't invoke localtime_r or gmtime_r unless it's the GNU C
authorJim Meyering <jim@meyering.net>
Sun, 18 Oct 1998 14:08:35 +0000 (14:08 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 18 Oct 1998 14:08:35 +0000 (14:08 +0000)
commitc8503930321eaaedc7c72c094288d3b3121daa89
tree4ae51536e76fa9dcb50f615a5dd221da54865a62
parent61ece919c69f84e27a63a653a79c96364eb59be0
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.

* mktime.c (__EXTENSIONS__, HAVE_LOCALTIME_R): Remove.
(my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
Base it on localtime unless _LIBC.
lib/mktime.c