Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11220

bash-4.4-alpha: Use itrace only if DEBUG

Path csiph.com!aioe.org!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Andreas Schwab <schwab@linux-m68k.org>
Newsgroups gnu.bash.bug
Subject bash-4.4-alpha: Use itrace only if DEBUG
Date Thu, 16 Jul 2015 19:39:09 +0200
Lines 22
Approved bug-bash@gnu.org
Message-ID <mailman.7007.1437068359.904.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain
X-Trace usenet.stanford.edu 1437068360 20506 208.118.235.17 (16 Jul 2015 17:39:20 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Virus-Scanned amavisd-new at mnet-online.de
X-Auth-Info TTcPp0daF5ML6A8l9cruqgp2tC1LD6wmumdj41186EwjKNttMyGgw16dPyyS2wxD
X-Yow Is this my STOP??
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 3.x
X-Received-From 212.18.0.10
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref aioe.org gnu.bash.bug:11220

Show key headers only | 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