<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/gl/lib, branch v9.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2025-09-21T18:30:40Z</updated>
<entry>
<title>maint: comment spelling fixes</title>
<updated>2025-09-21T18:30:40Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-09-21T18:30:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ebedbe8997506e86761b00b86fc94d630985eae1'/>
<id>urn:sha1:ebedbe8997506e86761b00b86fc94d630985eae1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: STREQ → streq</title>
<updated>2025-09-17T19:20:24Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-09-17T16:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ee367bd38daca8e36e4088d11301e52b782597ad'/>
<id>urn:sha1:ee367bd38daca8e36e4088d11301e52b782597ad</id>
<content type='text'>
Use new Gnulib streq function instead of rolling our own macro.
* bootstrap.conf (gnulib_modules): Add stringeq.
* src/rm.c (main): Don’t assume streq is a macro that expands to (...),
as it is now a function.
* src/system.h:
* tests/df/no-mtab-status.sh, tests/df/skip-duplicates.sh:
(STREQ): Remove.  All uses replaced by streq.
</content>
</entry>
<entry>
<title>maint: assume O_DIRECTORY</title>
<updated>2025-05-28T19:49:17Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-05-28T19:35:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c8d75786b20f95b4cac3fbde91cca1aa9a96423e'/>
<id>urn:sha1:c8d75786b20f95b4cac3fbde91cca1aa9a96423e</id>
<content type='text'>
Recent changes in Gnulib guarantee O_DIRECTORY != 0.
* gl/lib/targetdir.c (target_directory_operand):
* src/dd.c (usage):
* src/ln.c (main):
Simplify now that O_DIRECTORY must be nonzero.
</content>
</entry>
<entry>
<title>maint: use MAYBE_UNUSED more consistently</title>
<updated>2025-05-09T22:57:13Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-05-09T22:52:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1fef50d07b0a2c209b3f8b546bc8da7801dedd0a'/>
<id>urn:sha1:1fef50d07b0a2c209b3f8b546bc8da7801dedd0a</id>
<content type='text'>
* src/basenc.c (no_required_padding):
* gl/lib/smack.h (smack_new_label_from_self)
(smack_set_label_for_self):
* src/cksum.c (output_crc):
* src/digest.c (md5_sum_stream, sha1_sum_stream)
(sha224_sum_stream, sha256_sum_stream, sha384_sum_stream)
(sha512_sum_stream, sm3_sum_stream, output_file):
* src/stat.c (print_statfs, print_stat):
* src/sum.c (output_bsd, output_sysv):
* src/timeout.c (chld):
Mark possibly-unused parameters with MAYBE_UNUSED.
</content>
</entry>
<entry>
<title>maint: avoid syntax-check failures from recent commit</title>
<updated>2025-04-07T17:42:12Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-04-07T17:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dcfe04eab5c5aed4447ff24dddac9ccd6a35beac'/>
<id>urn:sha1:dcfe04eab5c5aed4447ff24dddac9ccd6a35beac</id>
<content type='text'>
* gl/lib/dtimespec-bound.h: Indent, Spellcheck.
* gl/local.mk: Add new gl files.
</content>
</entry>
<entry>
<title>timeout: don’t sleep less than requested</title>
<updated>2025-04-07T07:59:27Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-04-07T07:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cb7c210d30c5a6a4a879bda96d61926d77f16d96'/>
<id>urn:sha1:cb7c210d30c5a6a4a879bda96d61926d77f16d96</id>
<content type='text'>
Also, change sleep and tail to not sleep less than requested.
* bootstrap.conf (gnulib_modules): Add dtimespec-bound.
* gl/lib/dtimespec-bound.c, gl/lib/dtimespec-bound.h:
* gl/modules/dtimespec-bound: New files.
* src/sleep.c, src/tail.c, src/timeout.c: Include dtimespec-bound.h.
* src/sleep.c, src/tail.c: Don’t include xstrtod.h.
* src/sleep.c (apply_suffix, main):
* src/tail.c (parse_options):
* src/timeout.c (apply_time_suffix):
Don’t sleep less than the true number of seconds.
* src/timeout.c: Don’t include ctype.h.
(is_negative): Remove; no longer needed.
(parse_duration): Use a slightly looser bound on the timeout, one
that doesn’t need -lm on GNU/Linux.  Clear errno before calling
cl_strtod.
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2025-01-01T09:33:08Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-01T09:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=28b176085f04a6227d7fadd28a129b5cb02dfbf5'/>
<id>urn:sha1:28b176085f04a6227d7fadd28a129b5cb02dfbf5</id>
<content type='text'>
Update to latest gnulib with new copyright year.
Run "make update-copyright" and then...

* gnulib: Update included in this commit as copyright years
are the only change from the previous gnulib commit.
* 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>maint: ISDIGIT → c_isdigit</title>
<updated>2024-12-30T18:55:23Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2024-12-30T18:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9eb131e53029a648b549f507cac47f4769031073'/>
<id>urn:sha1:9eb131e53029a648b549f507cac47f4769031073</id>
<content type='text'>
* gl/lib/strnumcmp-in.h (ISDIGIT):
* src/system.h (ISDIGIT): Remove.  All uses replaced by c_isdigit,
with appropriate inclusions of c-ctype.h.  This is more regular,
and is more portable to existing (but unlikely) platforms where
INT_MAX == UINT_MAX.
</content>
</entry>
<entry>
<title>maint: expand heap a bit less aggressively</title>
<updated>2024-11-09T07:41:18Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2024-11-07T00:16:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5af1b2662b03f42abac46517a7922593eda448b5'/>
<id>urn:sha1:5af1b2662b03f42abac46517a7922593eda448b5</id>
<content type='text'>
* gl/lib/heap.c (struct heap, heap_alloc, heap_insert)
(heapify_down, heapify_up): Prefer idx_t to size_t for sizes.
(heap_insert): Use xpalloc instead of x2nrealloc.
(heapify_down): Return void since no caller cares about value.
* gl/modules/heap: Depend on idx.
</content>
</entry>
<entry>
<title>all: fix error checking in gl/lib/xdectoint.c</title>
<updated>2024-08-28T11:35:07Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2024-08-28T11:33:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9b9763e6a7499d78373fb42bac3dc2ee68a14b69'/>
<id>urn:sha1:9b9763e6a7499d78373fb42bac3dc2ee68a14b69</id>
<content type='text'>
This issue was noticed with -flto on GCC 14.2.1

* gl/lib/xdectoint.c (__xnumtoint): Only inspect the
returned value if LONGINT_INVALID is not set,
as the returned value is uninitialized in that case.
Fixes https://bugs.gnu.org/72842
</content>
</entry>
</feed>
