[Bug libstdc++/45841] [4.6 Regression]: r164529 cris-elf libstdc++ 27_io/basic_filebuf/seekoff/char/2-io.cc

hp at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 5 21:51:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45841

--- Comment #31 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2010-10-05 21:26:23 UTC ---
(In reply to comment #28)
> I'm a little confused. Is that supposed to be a sticky state?

Nope.  Don't worry.  The patch I quoted just fixes a bug on the return path
from the host file i/o call, which messed up the return value so the lseek
syscall (as seen from the simulated syscall) returns -0 (just the expression,
no sign-magnitude machine here :) instead of -EINVAL in Linux syscall parlance.



More information about the Gcc-bugs mailing list