projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a50efc
)
(keycompare): Use global, hard_LC_COLLATE in place of
author
Jim Meyering
<jim@meyering.net>
Sat, 22 Jan 2000 22:54:51 +0000
(22:54 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 22 Jan 2000 22:54:51 +0000
(22:54 +0000)
local that is sometimes undeclared.
src/sort.c
patch
|
blob
|
history
diff --git
a/src/sort.c
b/src/sort.c
index 8f7a03b23659115122737d220b802984c4ee11a8..1d07419446645c2ee625b2751744f23bf8e2f985 100644
(file)
--- a/
src/sort.c
+++ b/
src/sort.c
@@
-1087,7
+1087,6
@@
keycompare (const struct line *a, const struct line *b)
register char *lima = a->keylim;
register char *limb = b->keylim;
- int hard_collate = hard_LC_COLLATE;
int diff, lena, lenb;
for (;;)
@@
-1127,7
+1126,7
@@
keycompare (const struct line *a, const struct line *b)
#ifdef ENABLE_NLS
/* Sorting like this may become slow, so in a simple locale the user
can select a faster sort that is similar to ascii sort */
- else if (hard_
collate
)
+ else if (hard_
LC_COLLATE
)
{
if (ignore || translate)
{