CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2013/05/16 06:44:48

Modified files:
        usr.bin/rcs    : diff.c 

Log message:
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

Reply via email to