ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 55ab6a8a69c5fd7f41bc867053b53e2c12734186
parent c7075764b397aceea0c69ab692021e97d7f202e9
Author: Eivind Uggedal <eivind@uggedal.com>
Date:   Tue, 15 Mar 2016 20:27:49 +0000

dd: don't let failure to change pipe size affect exit code

Diffstat:
dd.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/dd.c b/dd.c @@ -152,6 +152,7 @@ copy_splice(struct dd_config *ddc) if (fcntl(p[0], F_SETPIPE_SZ, 1<<n) != -1) break; } + errno = 0; #endif n = ddc->bs; for (;ddc->b_out != ddc->count && !sigint;) {