projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c90fe8
)
(hard_locale): Revert last change -- it was simply
author
Jim Meyering
<jim@meyering.net>
Tue, 24 Oct 2000 08:20:13 +0000
(08:20 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 24 Oct 2000 08:20:13 +0000
(08:20 +0000)
wrong. That set_locale call must not have any side effects.
From Paul Eggert.
lib/hard-locale.c
patch
|
blob
|
history
diff --git
a/lib/hard-locale.c
b/lib/hard-locale.c
index 8ce6fddc9e10752ed56edcd121949b71f633a56c..1c75b390a68472bc7ccfd94d150dc393aeb2f7c0 100644
(file)
--- a/
lib/hard-locale.c
+++ b/
lib/hard-locale.c
@@
-56,7
+56,7
@@
hard_locale (int category)
#else
int hard = 1;
- char const *p = setlocale (category,
""
);
+ char const *p = setlocale (category,
0
);
if (p)
{