Mail Archives: cygwin/2007/07/24/15:11:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Hugh Secker-Walker on 7/24/2007 9:48 AM:
> Firstly, a thank you to Eric Blake for his quick response to the dd
> problem we uncovered yesterday. As of coreutils 6.9-4, dd honors the
> oflag=binary option in the popen() context in which I've been having
> trouble.
Before you thank me too much, remember that oflag=binary already worked
even in coreutils 6.9-3; it was the absence of any oflag= that was
incorrectly obeying mount points instead of defaulting to binary.
> FILE * const out = popen("gzip | dd oflag=binary > popenbug.out.gz", "w");
Why not also thank cgf, who uploaded a fixed gzip yesterday? Because of
his fix, this should now work:
popen("gzip > popenbug.out.gz", "w")
> However, in the discussion and the updated coreutils announcement
> http://cygwin.com/ml/cygwin/2007-07/msg00610.html
> http://cygwin.com/ml/cygwin/2007-07/msg00617.html
Did you not read my statement that:
[io]f= unspecified - no change to existing mode of std{in,out}
I did not change that behavior, nor did I claim to change it in 6.9-4. I
am still open to the idea of changing it. For 6.9-4, I only changed the
behavior for when of= but not oflag= was specified.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGpk8O84KuGfSFAYARAhmXAJ0cT5tSsSBRN75k3O+tBeKhcW6YCwCg2a5Y
ohzcbe+hm6dMlh/v5m5Gld4=
=C5o9
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -