[bash 3.2.39] File descriptor 10 is always duplicated from 0 and cannot be closed

2008-10-30 Thread Clark J. Wang
Hi, all: When I was doing some testing I found the file descriptor 10 is always duplicate of fd 0 and it cannot be closed. See the following commands: # echo $BASH_VERSION 3.2.39(1)-release # read line <&10 hello<--- input from keyboard # echo $line hello # exec 10<&-<--- try to close fd

Re: bash cores if nscd disabled on Solaris LDAP sasl/gssapi client

2008-10-30 Thread Chet Ramey
> ah OK, so I guess I need to work on a customized patched for 3.2 then. > Any ideas yet of what the exact change will be in configure.bin so that > I can apply to same in our deliveries ? *** ../bash-3.2-patched/configure.in2007-12-14 21:12:29.0 -0500 --- configure.in2008-10-

Re: bash cores if nscd disabled on Solaris LDAP sasl/gssapi client

2008-10-30 Thread Serge Dussud - Sun Microsystems
Chet Ramey wrote: Serge Dussud - Sun Microsystems wrote: Chet Ramey wrote: Serge Dussud - Sun Microsystems wrote: -z interpose . Could it be the explanation and a possible solution ? Well, let's try it. OK, great. Shall I understand that

Re: bash cores if nscd disabled on Solaris LDAP sasl/gssapi client

2008-10-30 Thread Chet Ramey
Serge Dussud - Sun Microsystems wrote: > > > Chet Ramey wrote: >> Serge Dussud - Sun Microsystems wrote: >> >> >>> -z interpose >>> >>> . >>> >>> >>> Could it be the explanation and a possible solution ? >>> >> >> Well, let's try it. >> > OK, great. Shall I understand that you'r

Re: bash cores if nscd disabled on Solaris LDAP sasl/gssapi client

2008-10-30 Thread Serge Dussud - Sun Microsystems
Chet Ramey wrote: Serge Dussud - Sun Microsystems wrote: -z interpose . Could it be the explanation and a possible solution ? Well, let's try it. OK, great. Shall I understand that you're going to make a patch for this, or is there something else ? Serge Chet

Re: =~ behaves differently in bash 3.2 and 3.0

2008-10-30 Thread Clark J. Wang
Thanks for all of your replies. BTW: I didn't find FAQ E14 in 3.2.39's `doc/FAQ' file. It's not updated yet?