[Top][All Lists]
[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
- [Monotone-devel] basic_io not binary transparent?, Christof Petig, 2006/12/06
- Re: [Monotone-devel] basic_io not binary transparent?,
Nathaniel J. Smith <=
- Re: [Monotone-devel] basic_io not binary transparent?, Christof Petig, 2006/12/08
- Re: [Monotone-devel] basic_io not binary transparent?, Nathaniel J. Smith, 2006/12/09
- Re: [Monotone-devel] basic_io not binary transparent?, Christof Petig, 2006/12/18
- Re: [Monotone-devel] Summit funding, was: basic_io not binary transparent?, Christof Petig, 2006/12/19
- Re: [Monotone-devel] Summit funding, was: basic_io not binary transparent?, Christof Petig, 2006/12/19
- Re: [Monotone-devel] Summit funding, was: basic_io not binary transparent?, Nathaniel J. Smith, 2006/12/19