Stéphane Glondu wrote:
> On 10/06/2011 04:07 PM, Jonathan Nieder wrote:

>> ksh93 -c "/bin/sleep 100 >dev/null" does skip a fork().  I suspect
>> bash does not skip a fork in this case for the same reason that
>>
>>      bash -c 'echo hi; /bin/sleep 100'
>>
>> does not skip a fork.
>
> POSIX's Shell and Utilities (XCU) 2.12 [1] does say that "[the]
> environment of the shell process shall not be changed by the utility",
> and that environment includes open files. My understanding is that
> dash's new behaviour (and incidentally, ksh93's one) is incorrect.

Is your question about POSIX or about correct behavior in Debian?  If
POSIX, the list to contact is austin-grou...@opengroup.org.  If
Debian, please feel free to brainstorm at debian-devel@, to provide
supporting information to d...@packages.debian.org (or any dash bug
report), to clarify policy using the debian-policy@ list, or to
consult debian-ctte@ if you do not trust Gerrit's judgement.

Hope that helps,
Jonathan


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111006144058.GA5415@elie

Reply via email to