Anyone notice this?

Emiel Kollof coolvibe at hackerheaven.org
Tue Nov 11 02:23:33 PST 2003


* Matthew Dillon (dillon at xxxxxxxxxxxxxxxxxxxx) wrote:

>     I have found it... the last major syscall separation commit accidently
>     used a 32 bit result from lseek instead of a 64 bit result.  %edx of
>     the return value was not being modified because only 32 bits of the
>     return value were being set.
> 
>     In fact, even the normal DFly lseek() call was screwing up the top 32 bits
>     because only 32 bits of the return value was being set instead of 64 bits
>     (off_t's are 64 bits).

Ah, could this account for the weird stuff in libdvdread (which is e.g.
used by mplayer to play DVDs)?

I'll put dfly back on my main hacking box at home to see if the sound
works as well. I guess I'd have to kill that win2k disk. What a worthy
sacrifice :)

Cheers,
Emiel
-- 





More information about the Kernel mailing list