<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/NEWS, branch v6.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2007-02-24T20:16:52Z</updated>
<entry>
<title>Version 6.8.</title>
<updated>2007-02-24T20:16:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-02-24T20:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cc2d4f6c4698ae359dfbc337679d95bfe1a04b31'/>
<id>urn:sha1:cc2d4f6c4698ae359dfbc337679d95bfe1a04b31</id>
<content type='text'>
* NEWS: Record release date and new version number.
* configure.ac (AC_INIT): New version number.
</content>
</entry>
<entry>
<title>* NEWS: Use a simple "+" suffix to denote pre-release, not "-dirty".</title>
<updated>2007-02-24T12:13:45Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-02-24T12:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f92a08e171e25ce371ec4ee6eafd2c049f48feb5'/>
<id>urn:sha1:f92a08e171e25ce371ec4ee6eafd2c049f48feb5</id>
<content type='text'>
Nicer connotations.
* configure.ac: Use 6.7+, not 6.7-dirty.
</content>
</entry>
<entry>
<title>* NEWS: sort no longer compresses temporaries by default.</title>
<updated>2007-02-24T11:24:27Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2007-02-24T11:24:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3ea177e3fa5a42dfe01b63b4c854c3478a1ea60d'/>
<id>urn:sha1:3ea177e3fa5a42dfe01b63b4c854c3478a1ea60d</id>
<content type='text'>
* bootstrap.conf: Remove findprog.
* doc/coreutils.texi (sort invocation): The default is to not
compress.  Don't treat "" specially.
* src/sort.c: Don't include findprog.h.
(create_temp): Compress only if the user specified --compress-program.
* tests/misc/sort-compress: Adjusts tests to match new behavior.
</content>
</entry>
<entry>
<title>* NEWS: sort now uses a --compress-program option rather than</title>
<updated>2007-02-19T21:11:18Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2007-02-19T21:11:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c363fcb9f06cec38040cf4294521096aa70179d9'/>
<id>urn:sha1:c363fcb9f06cec38040cf4294521096aa70179d9</id>
<content type='text'>
an environment variable.
* doc/coreutils.texi (sort invocation): Document this.
* src/sort.c (usage): Likewise.
(COMPRESS_PROGRAM_OPTION): New const.
(long_options, create_temp, main): Support new option.
* tests/misc/sort-compress: Test it.
</content>
</entry>
<entry>
<title>Test for today's gnulib/lib/getcwd.c fix affecting pwd and readlink</title>
<updated>2007-02-03T19:02:48Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-02-03T19:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d2823705664b838ca91017d6703b54d42f128bed'/>
<id>urn:sha1:d2823705664b838ca91017d6703b54d42f128bed</id>
<content type='text'>
* NEWS: Mention the bug fix.
* tests/misc/pwd-unreadable-parent: New file.
* tests/misc/Makefile.am (TESTS): Ad pwd-unreadable-parent.
</content>
</entry>
<entry>
<title>* NEWS: Document fix for cp --preserve=mode.</title>
<updated>2007-02-03T17:45:46Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2007-02-03T17:45:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b28a8851ed22dbf0cd123974a0c97ae0b82bec2b'/>
<id>urn:sha1:b28a8851ed22dbf0cd123974a0c97ae0b82bec2b</id>
<content type='text'>
* src/copy.c (copy_internal): Omit the group- or other-writeable
permissions when creating a directory, to avoid a race condition
if the special mode bits aren't right just after the directory is
created.
* src/cp.c (make_dir_parents_private): Likewise.
* tests/cp/parent-perm-race: Test for the "cp --preserve=mode"
race fix in copy.c.
</content>
</entry>
<entry>
<title>* NEWS: Document fix for cp --parents.</title>
<updated>2007-02-03T17:12:11Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2007-02-03T17:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1c73876f5f7973ca41caaf0ce326254b1081713a'/>
<id>urn:sha1:1c73876f5f7973ca41caaf0ce326254b1081713a</id>
<content type='text'>
* src/cp.c (make_dir_parents_private): Report the error sooner with
"cp --parents DIR/FILE DEST" when DIR is a non-directory, thus not
creating the directory, DEST/DIR.
* tests/cp/cp-parents: Test for the non-race-condition bug fixed
by the above change.
</content>
</entry>
<entry>
<title>* NEWS: New option sort -C, proposed by XCU ERN 127, which looks</title>
<updated>2007-01-24T08:06:57Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2007-01-24T08:06:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a0b2bc8de7c1363f2fe85dd11d28d2b1e68c9d32'/>
<id>urn:sha1:a0b2bc8de7c1363f2fe85dd11d28d2b1e68c9d32</id>
<content type='text'>
like it will be approved.  Also add --check=quiet, --check=silent
as long aliases, and --check=diagnose-first as an alias for -c.
* doc/coreutils.texi (sort invocation): Document this.
Also, mention that sort -c can take at most one file.
* src/sort.c: Implement this.
Include argmatch.h.
(usage): Document the change.
(CHECK_OPTION): New constant.
(long_options): --check now takes an optional argument, and is now
treated differently from 'c'.
(check_args, check_types): New constant arrays.
(check): New arg CHECKONLY, which suppresses diagnostic if -C.
(main): Parse the new options.
* tests/sort/Test.pm (02d, 02d, incompat5, incompat6):
New tests for -C.
</content>
</entry>
<entry>
<title>* NEWS: sort temp file compression: tweak wording.</title>
<updated>2007-01-23T23:22:45Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-01-23T23:22:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1f7d56fda5db9c5bd62eb9cc3ae543c00499a68f'/>
<id>urn:sha1:1f7d56fda5db9c5bd62eb9cc3ae543c00499a68f</id>
<content type='text'>
* src/sort.c (struct sortfile) [name]: Declare member to be const.
</content>
</entry>
<entry>
<title>* src/sort.c (MAX_FORK_RETRIES_COMPRESS, MAX_FORK_RETRIES_DECOMPRESS):</title>
<updated>2007-01-23T23:00:21Z</updated>
<author>
<name>Dan Hipschman</name>
<email>dsh@linux.ucla.edu</email>
</author>
<published>2007-01-23T23:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f33168da952e13e4ee99e1531ac41643b78addd4'/>
<id>urn:sha1:f33168da952e13e4ee99e1531ac41643b78addd4</id>
<content type='text'>
In pipe_fork callers, use these named constants, not "2" and "8".
(proctab, nprocs): Declare to be "static".
(pipe_fork) [lint]: Initialize local, pid,
to avoid unwarranted may-be-used-uninitialized warning.
(create_temp): Use the active voice.  Describe parameters, too.

2007-01-21  James Youngman  &lt;jay@gnu.org&gt;

Centralize all the uses of sigprocmask().  Don't restore an invalid
saved mask.
* src/sort.c (enter_cs, leave_cs): New functions for protecting
code sequences against signal delivery.
* (exit_cleanup): Use enter_cs and leave_cs instead of
calling sigprocmask directly.
(create_temp_file, pipe_fork, zaptemp): Likewise

2007-01-21  Dan Hipschman  &lt;dsh@linux.ucla.edu&gt;

Add compression of temp files to sort.
* NEWS: Mention this.
* bootstrap.conf: Import findprog.
* configure.ac: Add AC_FUNC_FORK.
* doc/coreutils.texi: Document GNUSORT_COMPRESSOR environment
variable.
* src/sort.c (compress_program): New global, holds the name of the
external compression program.
(struct sortfile): New type used by mergepfs and friends instead
of filenames to hold PIDs of compressor processes.
(proctab): New global, holds compressor PIDs on which to wait.
(enum procstate, struct procnode): New types used by proctab.
(proctab_hasher, proctab_comparator): New functions for proctab.
(nprocs): New global, number of forked but unreaped children.
(reap, reap_some): New function, wait for/cleanup forked processes.
(register_proc, update_proc, wait_proc): New functions for adding,
modifying and removing proctab entries.
(create_temp_file): Change parameter type to pointer to file
descriptor, and return type to pointer to struct tempnode.
(dup2_or_die): New function used in create_temp and open_temp.
(pipe_fork): New function, creates a pipe and child process.
(create_temp): Creates a temp file and possibly a compression
program to which we filter output.
(open_temp): Opens a compressed temp file and creates a
decompression process through which to filter the input.
(mergefps): Change FILES parameter type to struct sortfile array
and update access accordingly.  Use open_temp and reap_some.
(avoid_trashing_input, merge): Change FILES parameter like
mergefps and call create_temp instead of create_temp_file.
(sort): Call create_temp instead of create_temp_file.
Use reap_some.
(avoid_trashing_input, merge, sort, main): Adapt to mergefps.
</content>
</entry>
</feed>
