[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Ascii/binary detection.

From: Branko Èibej <brane_at_xbc.nu>
Date: 2001-08-01 22:22:46 CEST

Charles Wilson wrote:

> What about those evil programmers who embed EOL sequences in their
> strings?
>
You mean, what would our heuristics show for an object file containing
such strings? Not to worry, I think. First, the likelyhood that the
percentage of string constants in an object file is high enough to
confuse the heuristics is pretty small. And you always get a healthy
dose of NUL bytes in such files.

    Brane

-- 
Brane �ibej
    home:   <brane_at_xbc.nu>             http://www.xbc.nu/brane/
    work:   <branko.cibej_at_hermes.si>   http://www.hermes-softlab.com/
     ACM :   <brane_at_acm.org>            http://www.acm.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:34 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.