Thanks, I installed the attached fixup patch.
From 79a205e1cdd26bd5a34fda20bc7279a47fa84d2b Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Mon, 11 Aug 2025 22:01:14 -0700
Subject: [PATCH] unlinkat: fix GNU/Hurd typo

Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2025-08/msg00041.html
* lib/unlinkat.c (rpl_unlinkat): Declare missing local.
---
 lib/unlinkat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/unlinkat.c b/lib/unlinkat.c
index 6873ba558d..72bee75b0b 100644
--- a/lib/unlinkat.c
+++ b/lib/unlinkat.c
@@ -71,6 +71,7 @@ rpl_unlinkat (int fd, char const *name, int flag)
           memcpy (short_name, name, len);
           while (len && ISSLASH (short_name[len - 1]))
             short_name[--len] = '\0';
+          char linkbuf[1];
           if (len && (readlinkat (fd, short_name, linkbuf, 1) < 0
                       || errno == EINVAL))
             {
-- 
2.48.1

Reply via email to