import gawk-4.2.1-4.el8

This commit is contained in:
CentOS Sources 2022-02-28 04:19:53 +00:00 committed by Stepan Oksanichenko
parent 74c0f61f24
commit 9ada789be9
2 changed files with 32 additions and 3 deletions

22
SOURCES/proc-rv.patch Normal file
View File

@ -0,0 +1,22 @@
diff --git a/io.c b/io.c
index 1d440c1..07d8368 100644
--- a/io.c
+++ b/io.c
@@ -2599,7 +2599,7 @@ wait_any(int interesting) /* pid of interest, if any */
for (redp = red_head; redp != NULL; redp = redp->next)
if (interesting == redp->pid) {
redp->pid = -1;
- redp->status = status;
+ redp->status = sanitize_exit_status(status);
break;
}
}
@@ -2629,7 +2629,7 @@ wait_any(int interesting) /* pid of interest, if any */
for (redp = red_head; redp != NULL; redp = redp->next)
if (pid == redp->pid) {
redp->pid = -1;
- redp->status = status;
+ redp->status = sanitize_exit_status(status);
break;
}
}

View File

@ -44,7 +44,7 @@
Name: gawk Name: gawk
Summary: The GNU version of the AWK text processing utility Summary: The GNU version of the AWK text processing utility
Version: 4.2.1 Version: 4.2.1
Release: 2%{?dist} Release: 4%{?dist}
License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD
@ -105,8 +105,7 @@ BuildRequires: bison
# ---------------- last rebase that are necessary for any reason: # ---------------- last rebase that are necessary for any reason:
#Patch000: example000.patch #Patch000: example000.patch
Patch000: assign-int.patch Patch000: assign-int.patch
Patch001: proc-rv.patch
# Downstream patches -- these should be always included when doing rebase: # Downstream patches -- these should be always included when doing rebase:
# ------------------ # ------------------
@ -258,6 +257,14 @@ install -m 0644 -p doc/gawkinet.{pdf,ps} %{buildroot}%{_docdir}/%{name}
# ============================================================================= # =============================================================================
%changelog %changelog
* Fri Feb 11 2022 Jakub Martisko <jamartis@redhat.com> - 4.2.1-4
- Rebuild with some gating tests disabled
Resolves: rhbz#2053515
* Thu Feb 10 2022 Jakub Martisko <jamartis@redhat.com> - 4.2.1-3
Fix the issue with an incorect handling of return code of some processes
Resolves: rhbz#2018077
* Tue Nov 24 2020 Jakub Martisko <jamartis@redhat.com> - 4.2.1-2 * Tue Nov 24 2020 Jakub Martisko <jamartis@redhat.com> - 4.2.1-2
- Fix an issue with an int() value not being assigned to a variable - Fix an issue with an int() value not being assigned to a variable
Resolves: #1893370 Resolves: #1893370