Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11220 > unrolled thread
| Started by | Andreas Schwab <schwab@linux-m68k.org> |
|---|---|
| First post | 2015-07-16 19:39 +0200 |
| Last post | 2015-07-16 19:39 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
bash-4.4-alpha: Use itrace only if DEBUG Andreas Schwab <schwab@linux-m68k.org> - 2015-07-16 19:39 +0200
| From | Andreas Schwab <schwab@linux-m68k.org> |
|---|---|
| Date | 2015-07-16 19:39 +0200 |
| Subject | bash-4.4-alpha: Use itrace only if DEBUG |
| Message-ID | <mailman.7007.1437068359.904.bug-bash@gnu.org> |
Index: bash-4.4-alpha/redir.c
===================================================================
--- bash-4.4-alpha.orig/redir.c
+++ bash-4.4-alpha/redir.c
@@ -121,7 +121,9 @@ redirection_error (temp, error)
/* This can happen when read_token_word encounters overflow, like in
exec 4294967297>x */
{
+#ifdef DEBUG
itrace("redirection_error: temp->redirector.dest = %d", temp->redirector.dest);
+#endif
filename = _("file descriptor out of range");
}
#ifdef EBADF
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Back to top | Article view | gnu.bash.bug
csiph-web