<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/gl/modules, branch v9.1</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.1</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2022-04-13T06:57:15Z</updated>
<entry>
<title>cp,mv,install: modularize targetdir</title>
<updated>2022-04-13T06:57:15Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-04-13T06:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=30c932a3098146128acfd839589f308ec1bb116d'/>
<id>urn:sha1:30c932a3098146128acfd839589f308ec1bb116d</id>
<content type='text'>
Move target directory code out of system.h to a new targetdir module.
This doesn’t change functionality.
* bootstrap.conf (gnulib_modules): Add targetdir.
* src/cp.c, src/install.c, src/mv.c: Include targetdir.h.
* src/system.h (must_be_working_directory, target_directory_operand)
(targetdir_dirfd_valid): Move from here ...
* gl/lib/targetdir.c, gl/lib/targetdir.h, gl/modules/targetdir:
... to these new files.
</content>
</entry>
<entry>
<title>maint: pacify gcc -flto -Wmaybe-uninitialized</title>
<updated>2022-01-31T20:07:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-01-31T18:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=eb3cd9e97bbfbfd127097168e8e5c3f207c9fc40'/>
<id>urn:sha1:eb3cd9e97bbfbfd127097168e8e5c3f207c9fc40</id>
<content type='text'>
* gl/lib/xdectoint.c (__xnumtoint): Tell gcc that ‘error’
does not return here.
* gl/modules/xdectoint (Depends-on): Add stdbool, verify.
</content>
</entry>
<entry>
<title>maint: use minmax.h instead of rolling our own</title>
<updated>2021-11-01T05:36:46Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-11-01T05:30:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ea024067488e4ed7eb0038af8059b2d7ab16f1ff'/>
<id>urn:sha1:ea024067488e4ed7eb0038af8059b2d7ab16f1ff</id>
<content type='text'>
* gl/lib/mbsalign.c, gl/lib/randread.c, src/system.h (MAX, MIN):
Remove; include minmax.h instead.
* gl/modules/mbsalign, gl/modules/randread (Depends-on): Add minmax.
* src/factor.c (MIN): Remove.
</content>
</entry>
<entry>
<title>maint: port to Autoconf 2.71</title>
<updated>2021-04-27T06:32:45Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-04-27T06:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=62a7ce5f503c4a7f8bb410f0cc10fefab106a4d2'/>
<id>urn:sha1:62a7ce5f503c4a7f8bb410f0cc10fefab106a4d2</id>
<content type='text'>
* configure.ac: Use AC_PROG_CC, not AC_PROG_CC_STDC.
* gl/modules/smack (configure.ac):
* m4/jm-macros.m4 (coreutils_MACROS):
* m4/xattr.m4 (gl_FUNC_XATTR):
Use AS_HELP_STRING, not AC_HELP_STRING.
* m4/check-decl.m4 (gl_CHECK_DECLS):
Do not require AC_HEADER_TIME; we no longer care about it directly.
* m4/jm-macros.m4 (coreutils_MACROS):
Do not require AC_ISC_POSIX, which became obsolete in 2006.
Use AC_LINK_IFELSE instead of AC_TRY_LINK.
</content>
</entry>
<entry>
<title>maint: use getrandom, not getentropy</title>
<updated>2020-06-01T22:54:50Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2020-06-01T22:53:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b4ab357e42f53411ccc1aac38ee637de140abc0f'/>
<id>urn:sha1:b4ab357e42f53411ccc1aac38ee637de140abc0f</id>
<content type='text'>
This makes for one Gnulib module less, and at runtime there’s
typically just one getrandom syscall instead of several for large
nonces.
* gl/lib/randread.c: Include sys/random.h instead of sys/time.h
and unistd.h.
(get_nonce): Use getrandom, not getentropy.
* gl/modules/randread (Depends-on):
Depend on getrandom, not getentropy.
* src/shred.c (main):
* src/shuf.c (main):
* src/sort.c (random_md5_state_init):
Say "getrandom" rather than "getentropy" in (unlikely) diagnostic.
</content>
</entry>
<entry>
<title>maint: use getentropy and new tempname modules</title>
<updated>2020-06-01T05:39:48Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2020-06-01T05:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b3ff4113fddd169bff8b237764d9bea428ecb804'/>
<id>urn:sha1:b3ff4113fddd169bff8b237764d9bea428ecb804</id>
<content type='text'>
Update gnulib submodule to latest and use its new features.
Gnulib’s new getentropy module means coreutils can now assume
getentropy instead of approximating it, badly in some cases.
Gnulib’s improvements to the tempname module mean coreutils no
longer needs to maintain private patches.
* bootstrap.conf (gnulib_modules): Remove gettimeofday.
* gl/lib/randread.c (NAME_OF_NONCE_DEVICE): Remove.
(get_nonce): Return success indicator.  Remove bytes_bound arg.
All callers changed.  Rewrite by using getentropy instead of
reading the nonce device and falling back on gettimeofday.
Fail if getentropy fails.
(randread_new): Return NULL (setting errno) if get_nonce fails.
All callers changed.
* gl/lib/tempname.c.diff, gl/lib/tempname.h.diff:
* gl/modules/tempname.diff: Remove.
* gl/modules/randread (Depends-on):
Depend on getentropy, not gettimeofday.
* src/ptx.c (swallow_file_in_memory):
* src/shuf.c (read_input):
Adjust to read_file changes in Gnulib.
* src/shred.c (main):
* src/shuf.c (main):
* src/sort.c (random_md5_state_init):
Diagnose the new form of randread_new failures: randread_new can
fail now when !random_source, meaning getentropy failed.
</content>
</entry>
<entry>
<title>shuf: improve randperm overflow checking</title>
<updated>2019-10-22T22:04:43Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2019-10-22T19:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=74163ea677b6daf129b8bc03f8a9058a77ef3702'/>
<id>urn:sha1:74163ea677b6daf129b8bc03f8a9058a77ef3702</id>
<content type='text'>
* gl/lib/randperm.c: Include randperm.h first, since it’s the API.
Include stdint.h, count-leading-zeros.h, verify.h.
(floor_lg): Rename from ceil_log (which was not actually
implementing the ceiling!) and implement the floor using
count_leading_zeros.
(randperm_bound): Use floor_lg, not ceil_log.  Use uintmax_t
instead of size_t in case the size gets large on a 32-bit host.
* gl/modules/randperm (Depends-on): Add count-leading-zeros, stdint.
</content>
</entry>
<entry>
<title>printf,seq: remove c-strtod dependency</title>
<updated>2019-01-27T07:19:47Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2019-01-27T07:12:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8adc7ccf7ccab29b2f015c63c4d74b0fc4c831c6'/>
<id>urn:sha1:8adc7ccf7ccab29b2f015c63c4d74b0fc4c831c6</id>
<content type='text'>
* gl/modules/cl-strtold (Files): Add lib/cl-strtod.c, lib/cl-strtod.h.
(Depends-on): Remove cl-strtod.
(configure.ac): Redquire AC_C_RESTRICT.
</content>
</entry>
<entry>
<title>printf,seq,sleep,tail,timeout: accept current-locale floats</title>
<updated>2019-01-27T06:41:09Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2019-01-27T00:37:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3fe8bc09be53d9160073abf09d8ec0fa39740fa6'/>
<id>urn:sha1:3fe8bc09be53d9160073abf09d8ec0fa39740fa6</id>
<content type='text'>
These commands now accept floating-point numbers in the
current locale, as well as in the C locale.
Compatibility problem reported by Robert Elz.
* NEWS: Document this.
* bootstrap.conf (gnulib_modules): Add cl-strtod, cl-strtold.
Remove c-strtold.
* doc/coreutils.texi (Floating point, tail invocation)
(printf invocation, timeout invocation, sleep invocation)
(seq invocation): Document this.
* gl/lib/cl-strtod.c, gl/lib/cl-strtod.h, gl/lib/cl-strtold.c:
* gl/modules/cl-strtod, gl/modules/cl-strtold: New files.
* src/printf.c, src/seq.c, src/sleep.c, src/tail.c, src/timeout.c:
Include cl-strtod.h instead of c-strtod.
* src/printf.c (vstrtold):
* src/seq.c (scan_arg, print_numbers):
* src/sleep.c (main):
* src/tail.c (parse_options):
* src/timeout.c (parse_duration):
Use cl_strtold instead of c_strtold.
</content>
</entry>
<entry>
<title>build: update gnulib submodule to latest</title>
<updated>2018-10-19T19:38:33Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2018-10-19T19:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9c3730e601b72b4478e81d3c75e06ede4cfd93bc'/>
<id>urn:sha1:9c3730e601b72b4478e81d3c75e06ede4cfd93bc</id>
<content type='text'>
* gl/modules/tempname.diff: Update to match Gnulib.
</content>
</entry>
</feed>
