[Global-commit] global/libutil test.c

2010-03-09 Thread Shigio YAMAGUCHI
CVSROOT:/sources/global
Module name:global
Changes by: Shigio YAMAGUCHI10/03/10 03:03:00

Modified files:
libutil: test.c 

Log message:
PDF is considered to be a binary file.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/libutil/test.c?cvsroot=global&r1=1.16&r2=1.17


___
Global-commit mailing list
Global-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/global-commit


[Global-commit] global/libutil char.c char.h test.c

2010-03-09 Thread Hideki IWAMOTO
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