bug-bash
[Top][All Lists]
Advanced

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

Latest fix for DEBUG causes pipes to fail when used with trap and an int


From: Moe Tunes
Subject: Latest fix for DEBUG causes pipes to fail when used with trap and an interactive shell
Date: Fri, 28 Feb 2014 17:48:25 +1000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

From: pnewm
To: address@hidden
Subject: Latest fix for DEBUG makes pipes not work when trap is used

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc' -DSYS_BASH_LOGOUT='/etc/bash.bash_logout' uname output: Linux lappy 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23 00:10:07 CET 2014 i686 GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 4.3
Patch Level: 0
Release Status: release

Description:
Pipes stop working in this version when DEBUG is used with trap in an interactive shell

Repeat-By:
     pgas | # bash -c 'trap : DEBUG;echo foo | grep -v foo';echo OK
     shbot | pgas: OK
     pgas | # bash -ci 'trap : DEBUG;echo foo | grep -v foo';echo OK
     shbot | pgas: no output within the time limit
     pgas | this is not ok
     pgas | # bash -c 'echo $BASH_VERSION'
     shbot | pgas: 4.3.0(3)-release




reply via email to

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