Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package make for openSUSE:Factory checked in 
at 2022-11-22 16:09:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/make (Old)
 and      /work/SRC/openSUSE:Factory/.make.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "make"

Tue Nov 22 16:09:11 2022 rev:49 rq:1037052 version:4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/make/make.changes        2022-11-07 
13:51:20.683684605 +0100
+++ /work/SRC/openSUSE:Factory/.make.new.1597/make.changes      2022-11-22 
16:09:12.757734259 +0100
@@ -1,0 +2,6 @@
+Mon Nov 21 09:39:53 UTC 2022 - Andreas Schwab <sch...@suse.de>
+
+- reset-sigpipe.patch: Removed
+- sigpipe-fatal.patch: Handle SIGPIPE as a fatal signal
+
+-------------------------------------------------------------------

Old:
----
  reset-sigpipe.patch

New:
----
  sigpipe-fatal.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ make.spec ++++++
--- /var/tmp/diff_new_pack.QiGaUT/_old  2022-11-22 16:09:13.421737633 +0100
+++ /var/tmp/diff_new_pack.QiGaUT/_new  2022-11-22 16:09:13.425737654 +0100
@@ -27,7 +27,7 @@
 Source1:        https://ftp.gnu.org/gnu/make/make-%{version}.tar.gz.sig
 # keyring downloaded from 
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=make&download=1
 Source2:        %{name}.keyring
-Patch:          reset-sigpipe.patch
+Patch:          sigpipe-fatal.patch
 Patch64:        make-library-search-path.diff
 BuildRequires:  pkgconfig
 Requires(post): %{install_info_prereq}
@@ -52,7 +52,7 @@
 
 %check
 %make_build check || {
-  for f in tests/work/*/*.diff; do
+  for f in tests/work/*/*.diff*; do
     test -f "$f" || continue
     printf "++++++++++++++ %s ++++++++++++++\n" "${f##*/}"
     cat "$f"


++++++ sigpipe-fatal.patch ++++++
>From 92ab2e642d2c04b3dcb5a736ae6193680bfd5f74 Mon Sep 17 00:00:00 2001
From: Paul Smith <psm...@gnu.org>
Date: Sun, 6 Nov 2022 15:22:02 -0500
Subject: [PATCH] * src/main.c (main): [SV 63307] Handle SIGPIPE as a fatal
 signal

Always ignoring SIGPIPE is visible to child processes.
---
 src/main.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/main.c b/src/main.c
index eec93656..f2caf7a8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1182,11 +1182,6 @@ main (int argc, char **argv, char **envp)
   /* Useful for attaching debuggers, etc.  */
   SPIN ("main-entry");
 
-  /* Don't die if our stdout sends us SIGPIPE.  */
-#ifdef SIGPIPE
-  bsd_signal (SIGPIPE, SIG_IGN);
-#endif
-
 #ifdef HAVE_ATEXIT
   if (ANY_SET (check_io_state (), IO_STDOUT_OK))
     atexit (close_stdout);
@@ -1264,6 +1259,9 @@ main (int argc, char **argv, char **envp)
 #endif
 #ifdef SIGQUIT
   FATAL_SIG (SIGQUIT);
+#endif
+#ifdef SIGPIPE
+  FATAL_SIG (SIGPIPE);
 #endif
   FATAL_SIG (SIGINT);
   FATAL_SIG (SIGTERM);
-- 
2.38.1

Reply via email to