diff options
author | Jim Meyering <jim@meyering.net> | 2007-01-24 00:22:45 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-01-24 00:22:45 +0100 |
commit | 1f7d56fda5db9c5bd62eb9cc3ae543c00499a68f (patch) | |
tree | eaee8422c1cc22183f13697f5b488ab8797a7142 | |
parent | f33168da952e13e4ee99e1531ac41643b78addd4 (diff) | |
download | coreutils-1f7d56fda5db9c5bd62eb9cc3ae543c00499a68f.tar.xz |
* NEWS: sort temp file compression: tweak wording.
* src/sort.c (struct sortfile) [name]: Declare member to be const.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | src/sort.c | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -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): @@ -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 31421cff6..693b902f0 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 */ }; |