]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/closestream: don't wipe errno on EPIPE
authorKarel Zak <kzak@redhat.com>
Thu, 13 Mar 2014 11:41:03 +0000 (12:41 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 13 Mar 2014 11:41:03 +0000 (12:41 +0100)
commit422f93bfbb5df358fad3fedfe9eb0247cbf3cb14
treeee17945ed10cb0c4c8ee1b9951bbd78823ae75a3
parent97c3278925794be6636f803c8bfbdf8bff71aa91
include/closestream: don't wipe errno on EPIPE

... the code in close_stdout() is sensitive to EPIPE, so
wipe errno is close_stream() is probably bad idea.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/closestream.h