Recent 4.1 breakage...

Loren James Rittle rittle@latour.labs.mot.com
Fri May 19 16:44:00 GMT 2006


In article <446D00A9.7080304@suse.de>, Paolo Carlini<pcarlini@suse.de> writes:

>> Well, I'm confused on the expected behavior of 26777 (even after
>> reading the PR) and exactly what I see on FreeBSD 5.  Here is the read
>> on the fifo and the lseek from a truss log:

>> 82979: read(0x3,0x804d000,0x3ff)                 = 8 (0x8)
>> 82979: lseek(3,0xfffffffffffffff8,SEEK_CUR)      = 0 (0x0)

> Humm, lseek on a pipe unexpectedly succeeds instead of failing?

Yes, I should have explicitly pointed that out.  Interestingly enough,
the call to lseek() does fail if one changes:

        fbin.pubseekoff(0, ios::cur, ios::in);

to (e.g.)

        fbin.pubseekoff(1, ios::cur, ios::in);

The other thing of note (in case not obvious from the system call
trace): off_t is 64 bits on this platform.

Regards,
Loren



More information about the Libstdc++ mailing list