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

2025-01-19 Thread Collin Funk
Hi Bruno, Bruno Haible writes: > Thanks. Let me tweak the configure test: > - It is confusing that the test has an open file descriptor to the file > being renamed. > - It is useful for the test to return a bit mask, instead of having > two 'return 1;' cases. Namely, if the test fail

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

2025-01-19 Thread Bruno Haible via Gnulib discussion list
Collin Funk wrote: > The renameatu and rename tests fail on GNU/Hurd since renameat2 on that > platform does not properly handle trailing slashes. I've reported that > bug with a test case [1]. > > Applied the attached patch which adds a configure check and documents > the bug. Thanks. Let me twe

renameatu: Work around a GNU/Hurd bug.

2025-01-18 Thread Collin Funk
g.cgi?id=32570 >From 1e3de03067bf1ca2cec2dc2ce64f682bcf66b5d9 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sat, 18 Jan 2025 21:06:49 -0800 Subject: [PATCH] renameatu: Work around a GNU/Hurd bug. * m4/renameat.m4 (gl_FUNC_RENAMEAT): Check if renameat2 handles trailing slashes. * doc/glibc-f