freebsd-dev/bin
Thomas Quinot cd1832fe92 Reorganize the handling all-zeroes terminal block in sparse mode
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
2016-02-18 08:44:16 +00:00
..
cat
chflags
chio
chmod
cp
csh Don't link /usr/share/nls/de_DE.UTF-8/tcsh.cat to itself. 2016-02-03 23:37:24 +00:00
date
dd Reorganize the handling all-zeroes terminal block in sparse mode 2016-02-18 08:44:16 +00:00
df Add more text to explain --libxo flag. 2015-12-01 19:18:53 +00:00
domainname
echo
ed ed(1): Prevent possible string overflows 2015-12-18 23:05:36 +00:00
expr
freebsd-version Add missing CLEANFILES. 2015-12-07 16:08:13 +00:00
getfacl
hostname
kenv
kill
ln
ls Fix ls -l alignement with new locales 2015-12-07 20:48:28 +00:00
mkdir
mv
pax pax: prevent possible buffer overflow 2015-12-29 16:31:28 +00:00
pkill Rename P_KTHREAD struct proc p_flag to P_KPROC. 2016-02-09 16:30:16 +00:00
ps Rename P_KTHREAD struct proc p_flag to P_KPROC. 2016-02-09 16:30:16 +00:00
pwait
pwd
rcp
realpath
rm
rmail META MODE: Don't create .meta files when symlinking sources into the obj directory. 2015-11-25 19:44:43 +00:00
rmdir
setfacl Don't mention the "canonical six" in setfacl(1); it describes semantics 2016-01-23 12:19:37 +00:00
sh Test directories can build in parallel fine. 2016-02-16 02:13:59 +00:00
sleep
stty
sync
test test: Optimize operator lookup. 2016-01-30 19:59:58 +00:00
tests
uuidgen
Makefile
Makefile.inc