From: Jim Meyering Date: Tue, 23 Jan 2007 23:22:45 +0000 (+0100) Subject: * NEWS: sort temp file compression: tweak wording. X-Git-Tag: COREUTILS-6_8~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f7d56fda5db9c5bd62eb9cc3ae543c00499a68f;p=thirdparty%2Fcoreutils.git * NEWS: sort temp file compression: tweak wording. * src/sort.c (struct sortfile) [name]: Declare member to be const. --- diff --git a/ChangeLog b/ChangeLog index ebb1037381..19506838ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-24 Jim Meyering + + * NEWS: sort temp file compression: tweak wording. + * src/sort.c (struct sortfile) [name]: Declare member to be const. + 2007-01-21 Jim Meyering * src/sort.c (MAX_FORK_RETRIES_COMPRESS, MAX_FORK_RETRIES_DECOMPRESS): diff --git a/NEWS b/NEWS index 29b1c4533a..389cca9303 100644 --- a/NEWS +++ b/NEWS @@ -31,8 +31,9 @@ GNU coreutils NEWS -*- outline -*- ** New features - sort can now compresses temporary files to improve performance of - very large sorts. + By default, sort usually compresses each temporary file it writes. + When sorting very large inputs, this can result in sort using far + less temporary disk space and in improved performance. * Noteworthy changes in release 6.7 (2006-12-08) [stable] diff --git a/src/sort.c b/src/sort.c index 31421cff6e..693b902f00 100644 --- a/src/sort.c +++ b/src/sort.c @@ -459,7 +459,7 @@ static struct tempnode *volatile *temptail = &temphead; struct sortfile { - char *name; + char const *name; pid_t pid; /* If compressed, the pid of compressor, else zero */ };