[ECOS] Bug in fread.cxx

Jonathan Larmour jlarmour@redhat.com
Wed Feb 6 11:35:00 GMT 2002


Broeske Marty-FMB223 wrote:
> 
> Hey,
> 
> I found a minor bug in fread.cxx line 94.
> 
>     while (!err && bytes_to_read) { // if no err, but not finished - get next
>         err = real_stream->refill_read_buffer();
>         if ( !err ) {
> -->           err = real_stream->read( (cyg_uint8 *)ptr, bytes_to_read,  <--  ptr should be ptrc

Thanks. I'm amazed something like this has lasted so long....

jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



More information about the Ecos-discuss mailing list