cd1832fe92
The intent of the previous code in that case was to force an explicit write, but the implementation was incorrect, and as a result the write was never performed. This new implementation instead uses ftruncate(2) to extend the file with a trailing hole. Also introduce regression tests for these cases. PR: 189284 (original PR whose fix introduced this bug) PR: 207092 Differential Revision: D5248 Reviewed by: sobomax,kib MFC after: 2 weeks |
||
---|---|---|
.. | ||
tests | ||
args.c | ||
conv_tab.c | ||
conv.c | ||
dd.1 | ||
dd.c | ||
dd.h | ||
extern.h | ||
gen.c | ||
Makefile | ||
Makefile.depend | ||
misc.c | ||
position.c | ||
ref.ascii | ||
ref.ebcdic | ||
ref.ibm | ||
ref.lcase | ||
ref.obs_zeroes | ||
ref.oldascii | ||
ref.oldebcdic | ||
ref.oldibm | ||
ref.pareven | ||
ref.parnone | ||
ref.parodd | ||
ref.parset | ||
ref.swab | ||
ref.ucase |