monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] basic_io not binary transparent?


From: Nathaniel J. Smith
Subject: Re: [Monotone-devel] basic_io not binary transparent?
Date: Wed, 6 Dec 2006 13:36:54 -0800
User-agent: Mutt/1.2.5.1i

On Wed, Dec 06, 2006 at 06:31:32PM +0100, Christof Petig wrote:
> Hi,
> 
> within mtn_cvs I transfer binary (gzip'd) data between mtn and mtn_cvs
> using basic_io. I found that NUL bytes terminate a lexical unit (if
> that's the exact wording) and so the parser aborts with an error.
> 
> Should I
> - fix basic_io to work with NUL bytes, or
> - escape NUL bytes (e.g. as \0 )

My gut reaction is that not allowing NUL bytes is a bug, and quite
possibly a bug in Boost that we picked up accidentally or something.
(Of course, they should only be allowed in ""-strings.)

-- Nathaniel




reply via email to

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