This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in fread.cxx


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]