diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2013-05-16 12:44:49 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2013-05-16 12:44:49 +0000 |
commit | 0f6eb1b312e9754d351d10ccb2ec7e37e9a68ef3 (patch) | |
tree | b343c96ddd9f84f12286845eb36010e0bdd2ed42 /sys/arch/luna88k | |
parent | b944a7770f6d8c4bf0a7038f51e91d6412097b8f (diff) |
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 'sys/arch/luna88k')
0 files changed, 0 insertions, 0 deletions