diff options
author | 2013-05-16 12:44:48 +0000 | |
---|---|---|
committer | 2013-05-16 12:44:48 +0000 | |
commit | 0a91b02cf37084adc092135a83dd43eeef056a4c (patch) | |
tree | d450d8adb9c7a7bfc38c8c0ec09af07a223933c2 /usr.bin/ssh/buffer.c | |
parent | remove another now-unused variable (diff) | |
download | wireguard-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