Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.bash.bug > #11220

bash-4.4-alpha: Use itrace only if DEBUG

From Andreas Schwab <schwab@linux-m68k.org>
Newsgroups gnu.bash.bug
Subject bash-4.4-alpha: Use itrace only if DEBUG
Date 2015-07-16 19:39 +0200
Message-ID <mailman.7007.1437068359.904.bug-bash@gnu.org> (permalink)

Show all headers | View raw


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 gnu.bash.bug | Previous | Next | Find similar


Thread

bash-4.4-alpha: Use itrace only if DEBUG Andreas Schwab <schwab@linux-m68k.org> - 2015-07-16 19:39 +0200

csiph-web