Re: Following symlinks in globstar

2014-02-04 Thread Chet Ramey
On 1/25/14 6:11 PM, Stephane Chazelas wrote: > 2014-01-21 10:19:10 -0500, Chet Ramey: > [...] >>> I am not so worried about the method used to "fix" globstar -- whether >>> we keep backwards compatibility or not -- I am more concerned that we >>> have at least *some* way of disabling what many peop

Re: 4.3-rc2: fix crash in rl_do_undo

2014-02-04 Thread Chet Ramey
> Type M-. (insert-last-argument) twice -> crash. Thanks for the report. That's a good fix. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/

declare -ia does not enfore integer type on initialisation

2014-02-04 Thread phil colbourn
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE

bash doesn't execute SIGCHLD traps in correct context

2014-02-04 Thread Alexandru Damian
Hello, I'm facing an interesting problem - Bash doesn't execute SIGCHLD traps in the correct context. I'm using bash-4.2. Take this example: $ reset_trap() { echo RST; trap - CHLD; } $ trap reset_trap CHLD Under dash and ksh, once the trap is set, it will execute once, and then reset, as expect

Bad file descriptor with coproc and pipe

2014-02-04 Thread Michal Sojka
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA

Re: Bad file descriptor with coproc and pipe

2014-02-04 Thread Chet Ramey
On 2/4/14, 2:34 AM, Michal Sojka wrote: > Bash Version: 4.2 > Patch Level: 45 > Release Status: release > > Description: > The following commands fail: > > coproc while true; do echo $RANDOM; done > cat <&${COPROC[0]} | cat > > The resulting error message is: >

Re: declare -ia does not enfore integer type on initialisation

2014-02-04 Thread Chet Ramey
On 2/4/14, 5:17 PM, phil colbourn wrote: > Bash Version: 4.2 > Patch Level: 45 > Release Status: release > > Description: > declare -ia not enforced if variable is initiated using = Correct; bash applies the integer attribute after the variable assignment. It has been this way since arrays were