]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Assume <locale.h> exists.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Dec 2004 06:51:46 +0000 (06:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Dec 2004 06:51:46 +0000 (06:51 +0000)
commit2dea4ec8b08df6b15c4ee19bd27a544a0aa9af53
tree4d059c724e6998954f6fba5990d10e54e9220add
parentc98d52c34a9a5c984283639c6c5a451ec278f7aa
Assume <locale.h> exists.
Include "strdup.h".
(GLIBC_VERSION): New macro.
(hard_locale): Assume setlocale exists.
Rewrite to avoid #ifdef.
Use strdup rather than malloc + strcpy.
lib/hard-locale.c