Re: Bash-4.3-beta2 available for FTP

2013-11-05 Thread Chris Down
On 2013-11-05 23:12:00 +0100, Lionel Cons wrote: > Build instructions: > git clone --branch devel git://git.savannah.gnu.org/bash.git If you're only planning on sending in e-mail patches, then you might as well use --depth 1. pgpCGcGWdbeAL.pgp Description: PGP signature

Testcase for cd -@ / O_XATTR

2013-11-05 Thread Lionel Cons
Chet, below is a simple testcase for cd -@ / O_XATTR support: ./bash -c 'set -o errexit ; touch foo ; runat foo "echo hello1 >myxattr" ; cd -@ foo ; exec {n}<>myxattr ; cd -P .. ; cat <&$n ; true' This should print 'hello1'. Any suggestion where this test can be placed? Lionel

Re: Bash-4.3-beta2 available for FTP

2013-11-05 Thread Lionel Cons
On 5 November 2013 22:56, Chet Ramey wrote: >> > I'm interested in the patch if cd -@ file works like in ksh. Or >> > whatever, just send the patch that I can test it. >> > >> > Thank you. >> >> Again. Any patch or git pull tarball which we could try? > > The cd -@ option is available in the `deve

Build failure with cd -@ / O_XATTR

2013-11-05 Thread Lionel Cons
On systems with O_XATTR the bash git devel branch fails due a misnamed buffer used for cd -@ support: gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -DSOLARIS -DDEBUG -g -O2 cd.c || ( rm -f cd.c ; exit 1 ) ./cd.def: In function `cdxattr': ./cd.def:219: error: `buff' un

Re: Bash-4.3-beta2 available for FTP

2013-11-05 Thread Chet Ramey
> > I'm interested in the patch if cd -@ file works like in ksh. Or > > whatever, just send the patch that I can test it. > > > > Thank you. > > Again. Any patch or git pull tarball which we could try? The cd -@ option is available in the `devel' branch of the git tree on savannah: http://git.sa

Re: declare -g var should return a nonzero return code when it fails

2013-11-05 Thread Chet Ramey
On 11/4/13 4:24 AM, Peggy Russell wrote: >>> "declare -g var" should return a nonzero return code when it fails. > >> There is a problem here, and the problem that causes the spurious error >> message from test_error has been fixed in bash-4.3. However, I don't think >> you completely understand

Re: $"text" TEXTDOMAIN{,DIR} ordering relevance

2013-11-05 Thread Chet Ramey
On 11/4/13 3:15 PM, Michael Arlt wrote: > Bash Version: 4.2 > Patch Level: 25 > Release Status: release > Description: > TEXTDOMAIN must be defined before TEXTDOMAINDIR - otherwise it does not > work. > Use of $"text" in functions does not work if TEXTDOMAIN{,DIR} is defined > b