On 08/12/2016 05:12 AM, Gris Ge wrote:
 * Just block SIGPIPE when write() and restore it when done.
 * Use 'errno_save()' to preserve the errno of write().

Hello Gris,

Why do you want to block SIGPIPE around a write() call that you want to use to write to a file? If you use write_all() to write to stdout then blocking SIGPIPE sounds wrong to me.

Thanks,

Bart.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to