bug#79567: [PATCH] maint: pacify -Werror=trailing-whitespace

Paul Eggert <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
Thanks, I installed the attached. Belt and suspenders, I guess.
0001-maint-omit-trailing-white-space-in-config.h.patch (text/x-patch, 992 B)
From ebfd80083b4fe4ae37f50bbc2fcf3cfaee50a248 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Fri, 3 Oct 2025 17:04:01 -0700
Subject: [PATCH] maint: omit trailing white space in config.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* configure.ac (FORTIFY_SOURCE): Don’t indent a line
where the indentation can cause trailing white space in config.h.
Problem reported by Grisha Levit (Bug#79567).
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a7432e0a7..1e51aba0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -226,7 +226,7 @@ if test $gl_gcc_warnings != no; then
    #if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__
    # define _FORTIFY_SOURCE 2
    #endif
-  ])
+])
   AC_DEFINE([GNULIB_PORTCHECK], [1], [enable some gnulib portability checks])
 
   # We use a slightly smaller set of warning options for lib/.
-- 
2.48.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.