do not print awk warning in libcare-patch-make
Signed-off-by: yezengruan <yezengruan@huawei.com> (cherry picked from commit 193a984a721a42143591603a8fbf8630ac08bfa5)
This commit is contained in:
parent
e5c36a4c7a
commit
75d6156067
25
0021-do-not-print-awk-warning-in-libcare-patch-make.patch
Normal file
25
0021-do-not-print-awk-warning-in-libcare-patch-make.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From fce7fbc7ad2e830c5efc817e31da45f0e6a48a47 Mon Sep 17 00:00:00 2001
|
||||||
|
From: jiang-dawei15 <jiangdawei15@huawei.com>
|
||||||
|
Date: Fri, 16 Sep 2022 19:31:28 +0800
|
||||||
|
Subject: [PATCH] do not print awk warning in libcare-patch-make
|
||||||
|
|
||||||
|
---
|
||||||
|
src/libcare-patch-make | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/libcare-patch-make b/src/libcare-patch-make
|
||||||
|
index 3cd2fe9..9476063 100755
|
||||||
|
--- a/src/libcare-patch-make
|
||||||
|
+++ b/src/libcare-patch-make
|
||||||
|
@@ -78,7 +78,7 @@ restore_origs() {
|
||||||
|
{ vers[fname] = origfname; }
|
||||||
|
}
|
||||||
|
END { for (f in vers) system("mv " vers[f] " " f); }
|
||||||
|
-'
|
||||||
|
+' > /dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
trap "restore_origs" 0
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -3,7 +3,7 @@
|
|||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Name: libcareplus
|
Name: libcareplus
|
||||||
Summary: LibcarePlus tools
|
Summary: LibcarePlus tools
|
||||||
Release: 12
|
Release: 13
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Url: https://gitee.com/openeuler/libcareplus
|
Url: https://gitee.com/openeuler/libcareplus
|
||||||
@ -30,6 +30,7 @@ Patch0017: 0017-fix-probably-restore-cc-symbol-link-fail-when-kill-p.patch
|
|||||||
Patch0018: 0018-optimize-Remove-unnecessary-comparison-code.patch
|
Patch0018: 0018-optimize-Remove-unnecessary-comparison-code.patch
|
||||||
Patch0019: 0019-Revert-fix-probably-restore-cc-symbol-link-fail-when.patch
|
Patch0019: 0019-Revert-fix-probably-restore-cc-symbol-link-fail-when.patch
|
||||||
Patch0020: 0020-fix-probably-restore-cc-symbol-link-fail-when-kill-p.patch
|
Patch0020: 0020-fix-probably-restore-cc-symbol-link-fail-when-kill-p.patch
|
||||||
|
Patch0021: 0021-do-not-print-awk-warning-in-libcare-patch-make.patch
|
||||||
|
|
||||||
BuildRequires: elfutils-libelf-devel libunwind-devel gcc systemd
|
BuildRequires: elfutils-libelf-devel libunwind-devel gcc systemd
|
||||||
|
|
||||||
@ -167,6 +168,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 16 2022 yezengruan <yezengruan@huawei.com> 1.0.0-13
|
||||||
|
- do not print awk warning in libcare-patch-make
|
||||||
|
|
||||||
* Wed Jun 15 2022 yezengruan <yezengruan@huawei.com> 1.0.0-12
|
* Wed Jun 15 2022 yezengruan <yezengruan@huawei.com> 1.0.0-12
|
||||||
- kpatch_process: fix possible double free.
|
- kpatch_process: fix possible double free.
|
||||||
- ptrace: fix NULL pointer access problem
|
- ptrace: fix NULL pointer access problem
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user