Re: Regression in dash 0.5.10 related to subshells

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> writes:

> Leah Neukirchen <leah@xxxxxxxx> wrote:
>> Hi,
>> 
>> as of dash 0.5.10, this script waits for the sleep to terminate before
>> executing the last line, which no other /bin/sh does.
>> dash 0.5.9.1 worked fine.
>> 
>> 
>> #!/bin/sh
>> sleep 3 &
>> echo first in main shell
>> ( echo in subshell; )
>> echo back to main shell
>> 
>> 
>> Found by users of the Void Linux project:
>> https://github.com/voidlinux/void-packages/issues/14123
>
> Thanks for the report!
>
> This patch should fix the problem:

It indeed seems to.

Thanks for the quick help,
-- 
Leah Neukirchen  <leah@xxxxxxxx>  http://leah.zone
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux