From 910c82eff8759bb9ce4f9e5140970c76a287bea3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Oct 1997 04:42:02 +0000 Subject: [PATCH] (NLS_STRNCMP) [!ENABLE_NLS]: s/strcmp/strncmp/ --- src/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sort.c b/src/sort.c index b242585..add9779 100644 --- 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) strncmp (S1, S2, Len) #endif #ifdef ENABLE_NLS -- 2.7.4