commit bash-20061026 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:00:00 -05:00
parent 66658bece3
commit d1a75129f7
40 changed files with 16701 additions and 1726 deletions
+1 -1
View File
@@ -1426,7 +1426,7 @@ open_shell_script (script_name)
/* Open the script. But try to move the file descriptor to a randomly
large one, in the hopes that any descriptors used by the script will
not match with ours. */
fd = move_to_high_fd (fd, 0, -1);
fd = move_to_high_fd (fd, 1, -1);
#if defined (__CYGWIN__) && defined (O_TEXT)
setmode (fd, O_TEXT);