Signal handler may hang in futex_wait on SMP

2010-02-25 Thread werner
Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-gnu Compiler: gcc -I/usr/src/packages/BUILD/bash-4.1 -L/usr/src/packages/BUILD/bash-4.1/../readline-6.1 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYP

Re: Possible Bug in BASH

2010-02-25 Thread Matthew Strax-Haber
On Jun 20, 2009, at 3:47 PM, Bob Proulx wrote: > Matthew Strax-Haber wrote: >> I think I may have found a bug in BASH 3.2.17(1)-release on a mac. > > I am not sure it is a bug but it does seem ood. Perhaps it is not a bug, but if it is not then the documentation is inconsistent with the behavio

Re: Possible Bug in BASH

2010-02-25 Thread Andreas Schwab
Matthew Strax-Haber writes: > Perhaps it is not a bug, but if it is not then the documentation is > inconsistent with the behavior. There is no inconsistency. In the first example you define a function with the name `clear', in the second example you define a function with the name `c'. Surel

Re: Possible Bug in BASH

2010-02-25 Thread Chet Ramey
On 2/25/10 2:05 AM, Matthew Strax-Haber wrote: >>> Below is a simple demonstration of the unexpected behavior: >>> >>> SHELL 1: >>> mattsh$ alias c=clear >>> mattsh$ c () { echo foo; } >>> mattsh$ clear >>> foo >> >> Here c is the first word. So it is replaced by the alias. (I didn't >> know thi