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]

Bug in read/write in the io.cxx file


The readwrite() function in the io/fileio/current/src/io.cxx file never
returns any error code from op() function.

I think that it's necessary to add some lines in readwrite() function::
....
    if ( ret != ENOERR )              // two new lines
        FILEIO_RETURN(ret);

    CYG_REPORT_RETVAL(cnt);
    return cnt;
}

That's right?

--
Boris Guzhov,
St.Petersburg, Russia



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