<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/bootstrap.conf, branch v9.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2021-09-21T16:50:54Z</updated>
<entry>
<title>tail: fix detection of closed stdout on macOS</title>
<updated>2021-09-21T16:50:54Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-21T13:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a656db664daca129dba9c481e73eb4e76b9d0009'/>
<id>urn:sha1:a656db664daca129dba9c481e73eb4e76b9d0009</id>
<content type='text'>
* bootstrap.conf: We only need poll on Linux and AIX
where poll is not replaced.  Also resinstate dependence
on select so we can use it unconditionally.
* src/tail.c (check_output_alive): Reinstate use of select()
by default as poll was seen to be ineffective for this
application on macOS.
Fixes https://bugs.gnu.org/50714
</content>
</entry>
<entry>
<title>maint: prefer rawmemchr to memchr when easy</title>
<updated>2021-09-15T22:08:28Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-09-15T21:09:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2715aba08a381a6099c1c6b054995e6b3df785c8'/>
<id>urn:sha1:2715aba08a381a6099c1c6b054995e6b3df785c8</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add rawmemchr.
* src/csplit.c: Include idx.h.
* src/csplit.c (record_line_starts):
* src/head.c (elide_tail_lines_pipe):
* src/shuf.c (next_line):
* src/split.c (lines_split):
* src/tail.c (pipe_lines):
* src/wc.c (wc_lines):
Prefer rawmemchr to memchr when rawmemchr is easy.
* src/csplit.c (load_buffer):
* src/head.c (struct linebuffer):
Make room for a 1-byte sentinel.
</content>
</entry>
<entry>
<title>digest: add support for sm3</title>
<updated>2021-09-15T19:44:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-07T14:45:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8362f2552a4192d6b1e0e46fa5edd4ce76e29560'/>
<id>urn:sha1:8362f2552a4192d6b1e0e46fa5edd4ce76e29560</id>
<content type='text'>
Add message digest sm3, which uses the OSCCA SM3 secure
hash (OSCCA GM/T 0004-2012 SM3) generic hash transformation.

* bootstrap.conf: Add the sm3 module.
* doc/coreutils.texi: Mention the cksum -a option.
* src/digest.c: Provide support for --algorithm='sm3'.
* tests/misc/sm3sum.pl: Add a new test (from Tianjia Zhang)
* tests/local.mk: Reference the new test.
* NEWS: Mention the new feature.

Tested-by: Tianjia Zhang &lt;tianjia.zhang@linux.alibaba.com&gt;
</content>
</entry>
<entry>
<title>tail: use poll, not select</title>
<updated>2021-06-27T01:40:26Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-06-27T01:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=da0d448bca62c6305fc432f67e2c5ccc2da75346'/>
<id>urn:sha1:da0d448bca62c6305fc432f67e2c5ccc2da75346</id>
<content type='text'>
This fixes an unlikely stack out-of-bounds write reported by
Stepan Broz via Kamil Dudka (Bug#49209).
* bootstrap.conf (gnulib_modules): Replace select with poll.
* src/tail.c: Do not include &lt;sys/select.h&gt;.
[!_AIX]: Include poll.h.
(check_output_alive) [!_AIX]: Use poll instead of select.
(tail_forever_inotify): Likewise.  Simplify logic, as there is no
need for a ‘while (len &lt;= evbuf_off)’ loop.
</content>
</entry>
<entry>
<title>maint: bootstrap: remove reference to unused hash-pjw module</title>
<updated>2021-05-28T20:10:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2020-11-26T01:08:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=370c294018316f005bb259f51024497333d24ee0'/>
<id>urn:sha1:370c294018316f005bb259f51024497333d24ee0</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Remove hash-pjw. No longer used.
</content>
</entry>
<entry>
<title>env: simplify --split-string memory management</title>
<updated>2021-03-30T04:44:58Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-03-30T04:42:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e3766c5db176ca7abbb8212d5b0b7862fb98a5be'/>
<id>urn:sha1:e3766c5db176ca7abbb8212d5b0b7862fb98a5be</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add idx.
* src/env.c: Include idx.h, minmax.h.
Prefer idx_t to ptrdiff_t when values are nonnegative.
(valid_escape_sequence, escape_char, validate_split_str)
(CHECK_START_NEW_ARG):
Remove; no longer needed now that we validate as we go.
(struct splitbuf): New type.
(splitbuf_grow, splitbuf_append_byte, check_start_new_arg)
(splitbuf_finishup): New functions.
(build_argv): New arg ARGC.  Validate and process in one go, using
the new functions; this is simpler and more reliable than the old
approach (as witness the recent bug).  Avoid integer overflow in
the unlikely case where the string contains more than INT_MAX
arguments.
(parse_split_string): Simplify by exploiting the new build_argv.
</content>
</entry>
<entry>
<title>ptx: remove use of diacrit module</title>
<updated>2021-03-21T21:01:15Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-03-21T21:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a71539e62830927957ddea3ddb7615f68ffcc55b'/>
<id>urn:sha1:a71539e62830927957ddea3ddb7615f68ffcc55b</id>
<content type='text'>
The diacrit module is obsolete, and ptx’s use of it is obsolete
too; it assumes an 8-bit locale (not that common these days) and
that TeX cannot process the 8-bit characters (nowadays, it can).
* NEWS, doc/coreutils.texi (Charset selection in ptx): Document this.
* bootstrap.conf (gnulib_modules): Remove diacrit.
* src/ptx.c: Do not include diacrit.h.
(print_field, fix_output_parameters): Remove obsolete support
for 8-bit diacritics.
</content>
</entry>
<entry>
<title>build: update gnulib submodule to latest</title>
<updated>2021-03-21T21:01:15Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-03-21T07:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1a3eb6c305d1aab9ae81c2cc244217bded55b3ff'/>
<id>urn:sha1:1a3eb6c305d1aab9ae81c2cc244217bded55b3ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2021-01-01T16:36:09Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-01-01T16:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=32ff1d1313ff566685b9092ac929251a4c22e7c4'/>
<id>urn:sha1:32ff1d1313ff566685b9092ac929251a4c22e7c4</id>
<content type='text'>
Run "make update-copyright" and then...

* gnulib: Update to latest with copyright year adjusted.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
* tests/sample-test: Adjust to use the single most recent year.
</content>
</entry>
<entry>
<title>cksum: use more efficient slice by 8 algorithm</title>
<updated>2020-12-28T16:21:38Z</updated>
<author>
<name>Kristoffer Brånemyr</name>
<email>ztion1@yahoo.se</email>
</author>
<published>2020-12-26T23:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a7533917e031125cfcb3076a0dc6b9ad7275f9d2'/>
<id>urn:sha1:a7533917e031125cfcb3076a0dc6b9ad7275f9d2</id>
<content type='text'>
A 100MB file improves from 2.50s to 1.80s on a Sparc T5220
A 100MB file improves from 0.54s to 0.13s on an i3-2310M

* bootstrap.conf: Explicitly depend on byteswap,
since now used directly by coreutils.
* src/cksum.c (cksum): Process in multiples of 8 bytes.
(main): Adjust for generation of expanded crctab.
* src/cksum.h: Split now larger crctab to separate header.
* src/local.mk: Reference the new header.
* NEWS: Mention the improvement.
</content>
</entry>
</feed>
