Path: csiph.com!aioe.org!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Andreas Schwab 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: aioe.org gnu.bash.bug:11220 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."