Re: bug#61386: [PATCH] cp,mv,install: Disable sparse copy on macOS

2023-03-05 Thread Paul Eggert
I recall reading somewhere in this thread that a 'split' test was failing on macOS because it doesn't let you lseek on /dev/null. I fixed that problem here: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=aa266f1b3dc4e12acdc46cc0f562adc03c2c0b8f and fixed some other 'split' issues i

[PATCH] stdio: suppress macOS 13 sprintf warnings

2023-03-05 Thread Paul Eggert
* lib/stdio.in.h (_POSIX_C_SOURCE, _GL_DEFINED__POSIX_C_SOURCE): Suppress deprecation warnings for sprintf and vsprintf that were introduced in macOS 13. These are not useful for Gnulib itself, and are more likely than not to be merely an annoyance for Gnulib-using code. --- ChangeLog

timespec_get tests: Add comment

2023-03-05 Thread Bruno Haible
On a Linux/x86_64 system, I once saw this unit test fail: FAIL: test-timespec_get ../../gltests/test-timespec_get.c:49: assertion 'ts1.tv_sec <= tt2' failed FAIL test-timespec_get (exit status: 134) The failure probability is small (ca. 0.1% to 0.3%). I registered a glibc bug about it. 2023-03