[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Binary Diff System in Arch

From: Tez Kamihira
Subject: Re: [Gnu-arch-users] Binary Diff System in Arch
Date: Thu, 05 Feb 2004 07:33:52 +0900 (JST)

On Wed, 4 Feb 2004 08:59:18 -0800 (PST), Tom Lord <address@hidden> said:
> * text vs. binary files
>   GNU diff currently uses a heuristic to decide that a file is a 
>   binary file before it does any further worth.  _As_I_recall_, the
>   heuristic is to look at the first 1K (or is it 4K) of the file and,
>   if any 0-bytes are found, assume that the file is binary.

_If_I'm_correct_, it's often 8K. but varies with the file system's
internal page size. system dependent.

     - Tez

reply via email to

[Prev in Thread] Current Thread [Next in Thread]