bug-coreutils
[Top][All Lists]
Advanced

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

dd and closed stderr


From: Eric Blake
Subject: dd and closed stderr
Date: Fri, 28 Aug 2009 06:32:43 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is it intentional that:

echo | dd 2>&-

has a 0 exit status, even though it failed to write the summary message to
stderr?  Or is this a case where atexit(maybe_close_stdout) is
inadvertantly forgetting about stderr when close_stdout_required is false?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqXzmsACgkQ84KuGfSFAYBy1ACgvoPaRMC/xiJjJ5FTSO/5bF71
macAn3Z/XGAXsGOMHW9YdDU63WWHZuZq
=AKt3
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]