]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* NEWS: sort temp file compression: tweak wording.
authorJim Meyering <jim@meyering.net>
Tue, 23 Jan 2007 23:22:45 +0000 (00:22 +0100)
committerJim Meyering <jim@meyering.net>
Tue, 23 Jan 2007 23:22:45 +0000 (00:22 +0100)
* src/sort.c (struct sortfile) [name]: Declare member to be const.

ChangeLog
NEWS
src/sort.c

index ebb10373819d6ad380b2cf64d2aadc5efc04839f..19506838ade7a718cee745f3f2f5d49f5777e774 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-24  Jim Meyering  <jim@meyering.net>
+
+       * NEWS: sort temp file compression: tweak wording.
+       * src/sort.c (struct sortfile) [name]: Declare member to be const.
+
 2007-01-21  Jim Meyering  <jim@meyering.net>
 
        * src/sort.c (MAX_FORK_RETRIES_COMPRESS, MAX_FORK_RETRIES_DECOMPRESS):
diff --git a/NEWS b/NEWS
index 29b1c4533a20421ef01c8e291f596332ac9fbd01..389cca9303d297001e761651cf5f24b8cb12574e 100644 (file)
--- 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]
index 31421cff6e6fa57b760673a116beb7a2b54522ca..693b902f00e87512358c7c4411d85409b6a9755a 100644 (file)
@@ -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 */
 };