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:
eb5fa8b
)
(NLS_STRNCMP) [!ENABLE_NLS]: s/strcmp/strncmp/
author
Jim Meyering
<jim@meyering.net>
Sun, 26 Oct 1997 04:42:02 +0000
(
04:42
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 26 Oct 1997 04:42:02 +0000
(
04:42
+0000)
src/sort.c
patch
|
blob
|
history
diff --git
a/src/sort.c
b/src/sort.c
index b2425850e74620e06f2a3771943b117a7d565195..add9779d0c68ec2cadf7489a893f08ea814db40e 100644
(file)
--- a/
src/sort.c
+++ b/
src/sort.c
@@
-83,7
+83,7
@@
char *xstrdup ();
# define NLS_STRNCMP(S1, S2, Len) strncoll_s2_readonly (S1, S2, Len)
#else
# define NLS_MEMCMP(S1, S2, Len) memcmp (S1, S2, Len)
-# define NLS_STRNCMP(S1, S2, Len) strcmp (S1, S2, Len)
+# define NLS_STRNCMP(S1, S2, Len) str
n
cmp (S1, S2, Len)
#endif
#ifdef ENABLE_NLS