bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash-4.4-alpha: Use itrace only if DEBUG


From: Andreas Schwab
Subject: bash-4.4-alpha: Use itrace only if DEBUG
Date: Thu, 16 Jul 2015 19:39:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]