view patches/bash-3.2-librestrict.patch @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents 430898c7fda2
children
line wrap: on
line source

--- bash-3.2/shell.c~	2006-05-17 14:46:54.000000000 +0200
+++ bash-3.2/shell.c	2009-08-20 09:01:16.766766827 +0200
@@ -361,7 +361,9 @@ main (argc, argv, env)
 #  endif
 #endif
 
+#ifdef CHECK_DEV_TTY /* No good reason.  Hampers librestrict.  */
   check_dev_tty ();
+#endif
 
 #ifdef __CYGWIN__
   _cygwin32_check_tmp ();