* Richard Levitte:
In message [EMAIL PROTECTED] on Mon, 18 Apr 2005 12:27:07 +0200, Florian
Weimer [EMAIL PROTECTED] said:
fw Would it be possible to include the diffs inline, and not as
fw attachments? In other words, Content-Disposition: inline
fw instead of Content-Disposition:
* 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).
On Sun, Apr 17, 2005 at 03:05:43PM -0700, Nathaniel Smith wrote:
... 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 ;-)
Who would use a null-terminated string for anything in a C++ program?