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

Re: regression: "sh -c" change causes FTBFS

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-group-l@opengroup.org.  If
Debian, please feel free to brainstorm at debian-devel@, to provide
supporting information to dash@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,

Reply to: