freebsd-dev/bin/dd
Matt Macy 2048fe7098 dd: Check result of close(2) for errors
close(2) can return errors from previous operations which should not be ignored.

PR: 229616
Submitted by:	Thomas Hurst
Reported by:	Thomas Hurst
Reviewed by:	mmacy@
Obtained from:	Ryan Moeller
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D21376
2019-09-30 21:53:26 +00:00
..
tests Remove unnecessary make logic added in r319339 2017-07-18 17:29:12 +00:00
args.c Add conv=fdatasync flag to dd 2019-09-30 21:48:12 +00:00
conv_tab.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
conv.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
dd.1 Add conv=fdatasync flag to dd 2019-09-30 21:48:12 +00:00
dd.c dd: Check result of close(2) for errors 2019-09-30 21:53:26 +00:00
dd.h Add conv=fdatasync flag to dd 2019-09-30 21:48:12 +00:00
extern.h Add conv=fdatasync flag to dd 2019-09-30 21:48:12 +00:00
gen.c Reorganize the handling all-zeroes terminal block in sparse mode 2016-02-18 08:44:16 +00:00
Makefile dd: Incorporate some changes from imp for status=progress 2018-08-15 19:46:13 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
misc.c dd(1): Correct padding in status=progress 2018-09-13 14:54:46 +00:00
position.c dd: Incorporate some changes from imp for status=progress 2018-08-15 19:46:13 +00:00
ref.ascii
ref.ebcdic
ref.ibm
ref.lcase
ref.obs_zeroes Reorganize the handling all-zeroes terminal block in sparse mode 2016-02-18 08:44:16 +00:00
ref.oldascii
ref.oldebcdic
ref.oldibm
ref.pareven
ref.parnone
ref.parodd
ref.parset
ref.swab
ref.ucase