SHA256
3
0
forked from pool/bash

Accepting request 437120 from home:Andreas_Schwab:Factory

- no-null-warning.patch: Don't warn about null bytes in command
  substitution

OBS-URL: https://build.opensuse.org/request/show/437120
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=222
This commit is contained in:
Dr. Werner Fink 2016-10-24 14:38:11 +00:00 committed by Git OBS Bridge
parent 5b61989326
commit 64149de932
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 24 13:51:10 UTC 2016 - schwab@suse.de
- no-null-warning.patch: Don't warn about null bytes in command
substitution
-------------------------------------------------------------------
Tue Oct 4 12:59:48 UTC 2016 - werner@suse.de

View File

@ -98,6 +98,8 @@ Patch47: bash-4.3-perl522.patch
Patch48: bash-4.3-extra-import-func.patch
# PATCH-EXTEND-SUSE Allow root to clean file system if filled up
Patch49: bash-4.3-pathtemp.patch
# PATCH-FIX-OPENSUSE Don't warn about null bytes in command substitution
Patch50: no-null-warning.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _incdir %{_includedir}
@ -306,6 +308,7 @@ done
%patch48 -b .eif
%endif
%patch49 -p0 -b .pthtmp
%patch50 -p1
%patch0 -p0 -b .0
pushd ../readline-%{rl_vers}%{rextend}
for patch in ../readline-%{rl_vers}-patches/*; do

13
no-null-warning.patch Normal file
View File

@ -0,0 +1,13 @@
Index: bash-4.4/subst.c
===================================================================
--- bash-4.4.orig/subst.c
+++ bash-4.4/subst.c
@@ -5955,7 +5955,7 @@ read_comsub (fd, quoted, rflag)
if (c == 0)
{
-#if 1
+#if 0
internal_warning ("%s", _("command substitution: ignored null byte in input"));
#endif
continue;