Re: Assignments preceding "declare" affect brace and pathname expansion.

2013-03-26 Thread Chet Ramey
On 3/25/13 9:44 PM, Dan Douglas wrote: > Hi, > > $ set -x; foo=bar declare arr=( {1..10} ) > + foo=bar > + declare 'a=(1)' 'a=(2)' 'a=(3)' 'a=(4)' 'a=(5)' > > $ touch xy=foo > $ declare x[y]=* > + declare 'x[y]=*' > $ foo=bar declare x[y]=* > + foo=bar > + dec

Re: SIGTERM ignored before exec race

2013-03-26 Thread Chet Ramey
On 3/25/13 6:45 PM, Pádraig Brady wrote: > OK thanks for the pointer. > So the race is narrowed rather than closed? > As we have: > > execute_disk_command() > { > int pid = fork(); > if (pid == 0) /* child */ > { >CHECK_SIGTERM; /* Honor received SIGTERM. */ >do stuff; >