[interfacekit] Re: BBufferIO: some testing results

Jack Burton <burton666@xxxxxxxxx> wrote:
> I ran into a strange problem:
> 
> If I assign a BFile to a BBufferIO object, there is no problem 
> (although I 
> haven't yet completely understand its functionality). But if I assign 
> a 
> read only BFile to a BBufferIO object, I end up with a file full of 
> garbage=3D
> ...
> =3D09file =3D3D new BFile("/boot/home/just=5Fa=5Ftry", B=5FREAD=5FONLY|
> B=5FCREATE=5FFILE);
> Ok, now look into the generated file and you'll see.. garbage.
> Shouldn't the file be read only=3F Am I missing something=3F

Perhaps BFile doesn't like the combination of B=5FREAD=5FONLY and 
B=5FCREATE=5FFILE; other than that, I would ignore it for now, hoping that 
we won't suffer of this problem=3F!

Adios...
   Axel.



Other related posts: