64149de932
- 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
14 lines
338 B
Diff
14 lines
338 B
Diff
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;
|