This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Bug in fread.cxx
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Broeske Marty-FMB223 <fmb223 at motorola dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 06 Feb 2002 19:35:03 +0000
- Subject: Re: [ECOS] Bug in fread.cxx
- Organization: Red Hat UK Ltd.
- References: <AD31C7ED267AD411B55500D0B781E33D035B49FD@il33exm02.wes.mot.com>
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