unset builtin behaves differently from bash manual

2011-05-29 Thread Mu Qiao
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc'

Bash 4.2 crashes with git gc from git 1.7.5.3

2011-05-29 Thread pepo
Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-gnu Compiler: gcc -I/usr/src/packages/BUILD/bash-4.2 -L/usr/src/packages/BUILD/bash-4.2/../readline-6.2 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu'

Re: unset builtin behaves differently from bash manual

2011-05-29 Thread Chet Ramey
On 5/27/11 10:15 AM, Mu Qiao wrote: Bash Version: 4.1 Patch Level: 9 Release Status: release Description: We haven't checked bash-4.0 but for bash-4.1 and later, without options, unset first tries to unset a variable, and if that fails, tries to unset a function. However, The manual

Re: Bash 4.2 crashes with git gc from git 1.7.5.3

2011-05-29 Thread Chet Ramey
On 5/28/11 12:52 PM, p...@duo.site wrote: Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-gnu Compiler: gcc -I/usr/src/packages/BUILD/bash-4.2 -L/usr/src/packages/BUILD/bash-4.2/../readline-6.2 Compilation CFLAGS: -DPROGRAM='bash'

Re: incorrect associative array key parsing if they contain closing square bracket

2011-05-29 Thread Chet Ramey
associative array key parsing seems to be incorrect if they contain closing square bracket inside the array=([key]=value) construct. the following testcase : $ declare -A key_full; key_full=([version[agent]]=agent.version); echo ${!key_full[@]} Yes, this is a problem. Thanks for the

Re: Bash source repository

2011-05-29 Thread Bradley M. Kuhn
Chet Ramey wrote on 2009-11-02: Jari Aalto was setting up a git repository of current and older bash versions on savannah. I'll keep him up to date with public versions of bash Bob Proulx wrote on 2009-11-02: It looks like it has just recently been partially implemented.

Re: Bash source repository

2011-05-29 Thread Mike Frysinger
On Sunday, May 29, 2011 22:18:33 Bradley M. Kuhn wrote: It's been two years since this discussion began and there have been requests older than that. you just found the most recent. -mike signature.asc Description: This is a digitally signed message part.

Re: Bash source repository

2011-05-29 Thread Michael Witten
On Mon, May 30, 2011 at 02:18, Bradley M. Kuhn bk...@ebb.org wrote: Chet Ramey wrote on 2009-11-02: Jari Aalto was setting up a git repository of current and older bash versions on savannah.  I'll keep him up to date with public versions of bash Bob Proulx wrote on 2009-11-02: It looks like

Re: Bash source repository

2011-05-29 Thread Bradley M. Kuhn
I wrote earlier this evening: I humbly suggest that http://git.savannah.gnu.org/cgit/bash.git be replaced with this repository above that I've created. The new repository contains everything that the current Savannah one does, but I put much more effort into making commits fine-grained,

Re: Bash source repository

2011-05-29 Thread Michael Witten
On Mon, May 30, 2011 at 03:09, Bradley M. Kuhn bk...@ebb.org wrote: Michael Witten replied a few minutes ago: it is my opinion that all further development should take place through a public, distributed repository such as the one you have created - regardless of Chet's objections. It seems

Re: Bash source repository

2011-05-29 Thread Ben Pfaff
Bradley M. Kuhn bk...@ebb.org writes: The new repository contains everything that the current Savannah one does, but I put much more effort into making commits fine-grained, rather than merely importing the public releases blindly. (For example, I did 'git mv' where it was obvious a move