summaryrefslogtreecommitdiffstats
path: root/usr.bin/cu/command.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2012-07-11 16:19:24 +0000
committermatthew <matthew@openbsd.org>2012-07-11 16:19:24 +0000
commite04f6429de5e8ed779c24144c25357fc9ae8b065 (patch)
tree3c881c56ffcccec8e02d07eb21247fef75556161 /usr.bin/cu/command.c
parentEnable the swap checker for hibernate (diff)
downloadwireguard-openbsd-e04f6429de5e8ed779c24144c25357fc9ae8b065.tar.xz
wireguard-openbsd-e04f6429de5e8ed779c24144c25357fc9ae8b065.zip
When copying a file sparsely, truncate the resulting file based on the
current seek offset rather than what fstat() reported the original file's length was. This fixes things like "cp /dev/ksyms /tmp" so that we don't truncate the file to 0 bytes after copying all of the data. ok tedu, millert
Diffstat (limited to 'usr.bin/cu/command.c')
0 files changed, 0 insertions, 0 deletions