ubase

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

commit e358d74a805829dddf987ff62f42c7631df48e88
parent c64b5b04c7993765ab67207e86db92a48d7087f4
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:
Mdd.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;) {