>The problem appears to be mixing calls to lseek64 with calls to fread
>and fwrite.

Oh, of course.  I didn't see that.  You can't use the file descriptor of a 
file that is opened as a stream.  This test case uses the fileno() 
function to mess with the internals of the stream.

fseeko64() is the proper function to position a stream.

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to