CVSROOT:/sources/global
Module name:global
Changes by: Hideki IWAMOTO 10/03/09 11:41:50
Modified files:
libutil: char.c char.h test.c
Log message:
Changed the algorithm for detecting binary file.
If the first 512 bytes contain any character of 0-7,
14-26,28-31, the file is considered to be a binary.
Suggested by Erik Jonsson
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/libutil/char.c?cvsroot=global&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/global/libutil/char.h?cvsroot=global&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/global/libutil/test.c?cvsroot=global&r1=1.15&r2=1.16
___
Global-commit mailing list
Global-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/global-commit