Re: utimensat: Work around a GNU/Hurd bug.

2025-03-18 Thread Bruno Haible via Gnulib discussion list
Hi Collin, > The following test fails on GNU/Hurd: > > test-utimens.h:80: assertion 'func (BASE "file", ts) == -1' failed > FAIL test-utimensat (exit status: 134) > > This is because utimensat does not validate the tv_nsec fields of it's > arguments. > > I have reported this bug to the

Re: utimensat: Work around a GNU/Hurd bug.

2025-03-17 Thread Collin Funk
unk + utimensat: Increment serial number for previous commit. + * m4/utimensat.m4: Increment serial number. + utimensat: Work around a GNU/Hurd bug. * lib/utimensat.c (rpl_utimensat) [__gnu_hurd__]: Check for out of range tv_nsec values. diff --git a/m4/utimensat.m4 b/m4/utimensat.m4 index 1a3802a

utimensat: Work around a GNU/Hurd bug.

2025-03-17 Thread Collin Funk
6cf9c5127b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2025-03-17 Collin Funk + + utimensat: Work around a GNU/Hurd bug. + * lib/utimensat.c (rpl_utimensat) [__gnu_hurd__]: Check for out of range + tv_nsec values. + * m4/utimensat.m4 (gl_FUNC_UTIMENSAT): Likewise. Guess that uti