summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/buffer.c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2013-05-16 12:44:48 +0000
committerstsp <stsp@openbsd.org>2013-05-16 12:44:48 +0000
commit0a91b02cf37084adc092135a83dd43eeef056a4c (patch)
treed450d8adb9c7a7bfc38c8c0ec09af07a223933c2 /usr.bin/ssh/buffer.c
parentremove another now-unused variable (diff)
downloadwireguard-openbsd-0a91b02cf37084adc092135a83dd43eeef056a4c.tar.xz
wireguard-openbsd-0a91b02cf37084adc092135a83dd43eeef056a4c.zip
Switch rcsdiff(1) binary file detection from !(isprint() || isspace()) to
checking for embedded NULs, as was done for grep(1) and diff(1) some time ago. Avoids problems with e.g. latin1-encoded files being treated as binary, since isprint() uses only ASCII by default and rcsdiff(1) doesn't call setlocale(). ok sthen
Diffstat (limited to 'usr.bin/ssh/buffer.c')
0 files changed, 0 insertions, 0 deletions