From: Jim Meyering Date: Sat, 6 Dec 1997 21:09:30 +0000 (+0000) Subject: use SORT_INITIAL_LINE_LENGTH envvar for testing X-Git-Tag: FILEUTILS-3_16g~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b73786146f6ea51cdcf5244c044b7be7f4b8683c;p=thirdparty%2Fcoreutils.git use SORT_INITIAL_LINE_LENGTH envvar for testing --- diff --git a/src/sort.c b/src/sort.c index 9efe6c265b..f61275541a 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2808,6 +2808,14 @@ but lacks following character offset")); outer:; } + { + char *x = getenv ("SORT_INITIAL_LINE_LENGTH"); + if (x != NULL && *x) + { + linelength = atoi (x); + } + } + if (key) insertkey (key);