update version to 4.4.1

This commit is contained in:
fly_fzc 2023-07-17 14:55:58 +08:00
parent d5215393bb
commit 82fd28d30c
4 changed files with 5 additions and 43 deletions

View File

@ -1,39 +0,0 @@
From 92ab2e642d2c04b3dcb5a736ae6193680bfd5f74 Mon Sep 17 00:00:00 2001
From: Paul Smith <psmith@gnu.org>
Date: Sun, 6 Nov 2022 15:22:02 -0500
Subject: * 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 eec9365..f2caf7a 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);
@@ -1265,6 +1260,9 @@ main (int argc, char **argv, char **envp)
#ifdef SIGQUIT
FATAL_SIG (SIGQUIT);
#endif
+#ifdef SIGPIPE
+ FATAL_SIG (SIGPIPE);
+#endif
FATAL_SIG (SIGINT);
FATAL_SIG (SIGTERM);
--
cgit v1.1

BIN
make-4.4.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,12 @@
Name: make
Epoch: 1
Version: 4.4
Release: 2
Version: 4.4.1
Release: 1
Summary: A tool which controls the generation of executables and non-source files of a program
License: GPLv3+
URL: http://www.gnu.org/software/make/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Patch0: backport-Handle-SIGPIPE-as-a-fatal-signal.patch
BuildRequires: gcc git autoconf automake procps
BuildRequires: guile-devel perl-interpreter make
Requires(post): /sbin/install-info
@ -92,6 +90,9 @@ fi
%{_infodir}/*
%changelog
* Mon Jul 17 2023 fuanan <fuanan3@h-partners.com> - 1:4.4.1-1
- update version to 4.4.1
* Wed Jan 11 2023 fuanan <fuanan3@h-partners.com> - 1:4.4-2
- Continue build when test-case(features/output-sync) failed
- Handle SIGPIPE as a fatal signal