Re: The translated command synopsises are never used

2011-01-05 Thread Chet Ramey
> Bash Version: 4.1 > Patch Level: 7 > Release Status: release > > Description: > The translated versions of the command synopsises (short_doc) > are never used. Thanks for the report. As I recall, there was some reason I didn't make this change before, but we'll try it now and see w

Re: -x test always succeeds for root on Solaris

2011-01-05 Thread Chet Ramey
> Machine Type: i386-pc-solaris2.11 > > Bash Version: 4.1 > Patch Level: 9 > Release Status: release > > Description: > On Solaris 11, when root (as after 'su -' or from cron) uses bash's built-in > test to test for executability, it always succeeds, even when the file is > not executable.

Re: Memory leak in brace expansion

2011-01-05 Thread Chet Ramey
> 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/l

-x test always succeeds for root on Solaris

2011-01-05 Thread cloyce
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: solaris2.11 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='solaris2.11' -DCONF_MACHTYPE='i386-pc-solaris2.11' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -

Memory leak in brace expansion

2011-01-05 Thread Sonny Sasaka
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: Command substitution (backtick) and tab completion

2011-01-05 Thread chengiz
On Jan 5, 12:18 pm, Eric Blake wrote: > On 01/05/2011 09:57 AM, Greg Wooledge wrote: > > > > > On Wed, Jan 05, 2011 at 08:21:18AM -0800, chengiz wrote: > >> So if I get this right, the only time this is a problem is when the > >> command substitution runs more than once. > > > I'd actually charact

Re: Command substitution (backtick) and tab completion

2011-01-05 Thread Eric Blake
On 01/05/2011 09:57 AM, Greg Wooledge wrote: > On Wed, Jan 05, 2011 at 08:21:18AM -0800, chengiz wrote: >> So if I get this right, the only time this is a problem is when the >> command substitution runs more than once. > > I'd actually characterize it differently: it's unsafe to run arbitrary > c

Re: Command substitution (backtick) and tab completion

2011-01-05 Thread Greg Wooledge
On Wed, Jan 05, 2011 at 08:21:18AM -0800, chengiz wrote: > So if I get this right, the only time this is a problem is when the > command substitution runs more than once. I'd actually characterize it differently: it's unsafe to run arbitrary commands during tab completion, because bash doesn't kno

Re: Command substitution (backtick) and tab completion

2011-01-05 Thread chengiz
On Jan 1, 11:20 pm, Chet Ramey wrote: > On 12/31/10 11:01 PM, Sven Mascheck wrote: > > > On Fri, Dec 31, 2010 at 12:20:38PM -0800, chengiz wrote: > >> On Dec 31, 12:20 pm, Sven Mascheck wrote: > > >>> (see alsohttp://lists.gnu.org/archive/html/bug-bash/2008-01/msg00049.html) > >>> [...] > > >> I