<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/bootstrap.conf, 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-24T11:24:27Z</updated>
<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>* bootstrap.conf (gnulib_modules): Add c-strcase.  Remove strcase.</title>
<updated>2007-02-15T07:16:30Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2007-02-15T07:16:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=516f42ab4059962a441e6256d78848f981a6e136'/>
<id>urn:sha1:516f42ab4059962a441e6256d78848f981a6e136</id>
<content type='text'>
* src/dircolors.c: Include c-strcase.h.
(dc_parse_stream): Use c_strcasecmp rather than
strcasecmp to avoid unreliable results in locales like Turkish
where strcasecmp is incompatible with the C locale.
</content>
</entry>
<entry>
<title>Modify "ls" to sort its data faster, using the new gnulib mpsort</title>
<updated>2007-01-29T11:08:52Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2007-01-29T11:08:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c1f8d483879846a8d207355a67ce388778a8e773'/>
<id>urn:sha1:c1f8d483879846a8d207355a67ce388778a8e773</id>
<content type='text'>
module rather than qsort.  This is particularly a win in
environments where strcoll is slow, since mpsort typically calls
strcoll less often than qsort does.
* bootstrap.conf (gnulib_modules): Add mpsort.
* src/ls.c: Include mpsort.h.
(sorted_file, sorted_file_alloc): New vars, for a new vector of
pointers to the file info, for speed.
(clear_files, extract_dirs_from_files, sort_files, print_current_files):
(print_many_per_line, print_horizontal, print_with_commas):
(calculate_columns): Set and use new vector.
(initialize_ordering_vector): New function.
</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>
<entry>
<title>* bootstrap.conf (avoided_gnulib_modules): Fix my typo:</title>
<updated>2007-01-15T09:32:09Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-01-15T09:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=54050ea91d685ed82dc46281567da99a6f58a046'/>
<id>urn:sha1:54050ea91d685ed82dc46281567da99a6f58a046</id>
<content type='text'>
s/--avoid=canonicalize-lgpl/--avoid=canonicalize-gpl/
</content>
</entry>
<entry>
<title>Enable use of gnulib's new fchdir module.</title>
<updated>2007-01-14T16:15:49Z</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2007-01-14T16:15:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bb4112b4075b82009f307367756c9689d8772592'/>
<id>urn:sha1:bb4112b4075b82009f307367756c9689d8772592</id>
<content type='text'>
* bootstrap.conf (avoided_gnulib_modules): Avoid canonicalize-lgpl,
since we use canonicalize.
(gnulib_modules): Add fchdir.
* m4/jm-macros.m4 (coreutils_MACROS): Remove fchdir-stub.
</content>
</entry>
<entry>
<title>* bootstrap (gnulib_extra_files): Remove announce-gen.</title>
<updated>2006-12-30T21:16:35Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-12-30T21:16:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=747e7a8da8c5211b87f95b21170c2226044d7727'/>
<id>urn:sha1:747e7a8da8c5211b87f95b21170c2226044d7727</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add it here instead, now that
it's a module.
</content>
</entry>
<entry>
<title>* bootstrap.conf (gnulib_modules): Add sys_stat, since we use it directly too.</title>
<updated>2006-11-16T18:51:23Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-11-16T18:51:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1a0333565f1a89d87b36e7a5c83bac9c145a9916'/>
<id>urn:sha1:1a0333565f1a89d87b36e7a5c83bac9c145a9916</id>
<content type='text'>
* lib/.cvsignore, lib/.gitignore: Add root-dev-ino.c, root-dev-ino.h.
* m4/.cvsignore, m4/.gitignore: Add root-dev-ino.m4.
* src/ls.c (DIRED_FPUTS_LITERAL, PUSH_CURRENT_DIRED_POS):
Omit unnecessary parenthesization of args.
* src/od.c (EQUAL_BLOCKS): Likewise.
* src/system.h (STREQ, ASSIGN_STRDUPA): Likewise.
</content>
</entry>
<entry>
<title>Adapt to new version of gnulib-tool.</title>
<updated>2006-11-14T13:02:18Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-11-14T13:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3ef2f939f77e7688879b96d84392c02e4361f49e'/>
<id>urn:sha1:3ef2f939f77e7688879b96d84392c02e4361f49e</id>
<content type='text'>
* gl/modules/root-dev-ino: New file.
* lib/root-dev-ino.c, lib/root-dev-ino.h: Move these files ...
* gl/lib/root-dev-ino.c, gl/lib/root-dev-ino.h: ... to here.
* m4/root-dev-ino.m4: Move this file ...
* gl/m4/root-dev-ino.m4: ... to here.
* bootstrap.conf (gnulib_modules): Add root-dev-ino.
</content>
</entry>
<entry>
<title>* NEWS: Document that mkdir -p and install -d now fork on occasion.</title>
<updated>2006-09-16T20:03:56Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-16T20:03:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b67faf329cebf0805b2b73cc775ccfc7a05390de'/>
<id>urn:sha1:b67faf329cebf0805b2b73cc775ccfc7a05390de</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add savewd.
* src/install.c: Include savewd.h.
(process_dir): New function.
(main, install_file_in_file_parents): Use it, along with the new
savewd module, to avoid some race conditions.
* src/mkdir.c: Include savewd.h.
(struct mkdir_options): New members make_ancestor_function, mode,
mode_bits.
(make_ancestor): Return 1 if the resulting directory is not readable.
(process_dir): New function.
(main): Use it, along with new savewd module, to avoid some
race conditions.  Fill in new slots of struct mkdir_options, so
that callees get the values.
* tests/install/basic-1: Test for coreutils 5.97 bug that was
fixed in coreutils 6.0, and which should still be fixed with
this change.
* tests/mkdir/p-3: Likewise.
</content>
</entry>
</feed>
