[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Two new lists to get commit logs
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] Two new lists to get commit logs |
Date: |
Sun, 17 Apr 2005 15:05:43 -0700 |
User-agent: |
Mutt/1.5.8i |
On Sun, Apr 17, 2005 at 11:15:52PM +0200, Florian Weimer wrote:
> * Richard Levitte:
>
> > I was a bit clumsy in the way I wrote that. My question is, how do I
> > correctly detect a binary blob from text?
>
> A few GNU tools use the presence of NUL characters to identify binary
> files (some of them only in the first few K of the file, AFAIK).
Yeah.
And as Olivier found, it helps if your existing guess_binary function
doesn't contain a C-style string of "characters that imply binary", of
which the first element is NUL ;-)
This is fixed on mainline.
-- Nathaniel
--
"...All of this suggests that if we wished to find a modern-day model
for British and American speech of the late eighteenth century, we could
probably do no better than Yosemite Sam."
- [Monotone-devel] Two new lists to get commit logs, Richard Levitte - VMS Whacker, 2005/04/13
- Re: [Monotone-devel] Two new lists to get commit logs, Derek Scherger, 2005/04/14
- Re: [Monotone-devel] Two new lists to get commit logs, Richard Levitte - VMS Whacker, 2005/04/14
- Re: [Monotone-devel] Two new lists to get commit logs, Nathaniel Smith, 2005/04/15
- Re: [Monotone-devel] Two new lists to get commit logs, Richard Levitte - VMS Whacker, 2005/04/15
- Re: [Monotone-devel] Two new lists to get commit logs, Florian Weimer, 2005/04/17
- Re: [Monotone-devel] Two new lists to get commit logs,
Nathaniel Smith <=
- Re: [Monotone-devel] Two new lists to get commit logs, Nathan Myers, 2005/04/17
- Re: [Monotone-devel] Two new lists to get commit logs, Florian Weimer, 2005/04/18
- Re: [Monotone-devel] Two new lists to get commit logs, Asger Alstrup, 2005/04/15
Re: [Monotone-devel] Two new lists to get commit logs, Florian Weimer, 2005/04/18