diff options
author | 2011-06-20 18:14:01 +0000 | |
---|---|---|
committer | 2011-06-20 18:14:01 +0000 | |
commit | 5ff999700a805455adab6bff70b18b11acd2ff09 (patch) | |
tree | b5f553c4b4e670f413eb9f215df717748908a7da /sys/dev | |
parent | as man page states, lower case undoes upper case. add support for little s, (diff) | |
download | wireguard-openbsd-5ff999700a805455adab6bff70b18b11acd2ff09.tar.xz wireguard-openbsd-5ff999700a805455adab6bff70b18b11acd2ff09.zip |
Switch binary file detection from !(isprint() || isspace()) to checking
for embedded NULs. Matches GNU and FreeBSD grep, and avoids problems with
e.g. latin1-encoded files being treated as binary in the UTF-8 locale once
grep calls setlocale() (which it does not, yet).
OK millert@ tedu@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions