bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnulib-tool.py: Don't print extra newlines.


From: Collin Funk
Subject: [PATCH] gnulib-tool.py: Don't print extra newlines.
Date: Sun, 17 Mar 2024 12:02:09 -0700
User-agent: Mozilla Thunderbird

This patch removes a few newlines in the diff between gnulib-tool.sh
and gnulib-tool.py.

Here is the current diff of Emacs merge-gnulib script with all the
gnulib-tool.py updates. Far better than a month ago. :)

# Add gnulib changes not in Emacs yet.
$ env GNULIB_TOOL_IMPL="sh" ./admin/merge-gnulib
$ git add .
$ env GNULIB_TOOL_IMPL="py" ./admin/merge-gnulib
$ git diff .
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in
index 6df7f6d9b00..1df51f98805 100644
--- a/lib/gnulib.mk.in
+++ b/lib/gnulib.mk.in
@@ -2644,6 +2644,12 @@ EXTRA_libgnu_a_SOURCES += malloc.c
 endif
 ## end   gnulib module malloc-posix
 
+## begin gnulib module manywarnings
+ifeq (,$(OMIT_GNULIB_MODULE_manywarnings))
+
+endif
+## end   gnulib module manywarnings
+
 ## begin gnulib module memmem-simple
 ifeq (,$(OMIT_GNULIB_MODULE_memmem-simple))
 
@@ -3296,7 +3302,9 @@ ifneq (,$(GL_COND_OBJ_STDIO_WRITE_CONDITION))
 libgnu_a_SOURCES += stdio-write.c
 endif
 
-EXTRA_DIST += stdio.in.h
+EXTRA_DIST += stdio-read.c stdio.in.h
+
+EXTRA_libgnu_a_SOURCES += stdio-read.c
 
 endif
 ## end   gnulib module stdio
@@ -4278,6 +4286,12 @@ EXTRA_DIST += vla.h
 endif
 ## end   gnulib module vla
 
+## begin gnulib module warnings
+ifeq (,$(OMIT_GNULIB_MODULE_warnings))
+
+endif
+## end   gnulib module warnings
+
 ## begin gnulib module xalloc-oversized
 ifeq (,$(OMIT_GNULIB_MODULE_xalloc-oversized))

Collin

Attachment: 0001-gnulib-tool.py-Don-t-print-extra-newlines.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]