> On error, the kernel returns -EOVERFLOW (via %eax) and libc hides > it by > errno = EOVERFLOW > ret = -1 Ah got it. How about the attached patch? Thanks, Fengguang
Attachment:
mem-seek-fix
Description: mem-seek-fix
> On error, the kernel returns -EOVERFLOW (via %eax) and libc hides > it by > errno = EOVERFLOW > ret = -1 Ah got it. How about the attached patch? Thanks, Fengguang
Attachment:
mem-seek-fix
Description: mem-seek-fix