Skip to content

Commit 10cebb7

Browse files
Merge pull request #86 from zopencommunity/fix_devstdin
Use pseudo /dev/stdin since /dev/stdin is broken
2 parents 1355a42 + cd00f14 commit 10cebb7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

stable-patches/configure.patch

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/configure b/configure
2-
index 4731375..9273f18 100755
2+
index 56e8e6f..85b806b 100755
33
--- a/configure
44
+++ b/configure
55
@@ -3281,6 +3281,7 @@ m68k-sysv) opt_bash_malloc=no ;; # fixes file descriptor leak in closedir
@@ -41,3 +41,13 @@ index 4731375..9273f18 100755
4141

4242
elif test $bash_cv_dev_fd = "whacky"; then
4343
printf "%s\n" "#define HAVE_DEV_FD 1" >>confdefs.h
44+
@@ -21646,6 +21654,9 @@ else $as_nop
45+
46+
fi
47+
48+
+# z/OS workaround since /dev/stdin is broken in 3.1
49+
+ bash_cv_dev_stdin=absent
50+
+
51+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bash_cv_dev_stdin" >&5
52+
printf "%s\n" "$bash_cv_dev_stdin" >&6; }
53+
if test $bash_cv_dev_stdin = "present"; then

0 commit comments

Comments
 (0)