From: NIIBE Y. <gn...@m1...> - 2002-11-01 02:38:16
|
M. R. Brown wrote: > You're confusing pread w/ pread64. Please look the problem at first. Linux's "pread" API is different with POSIX. We don't have pread64 in Linux. Please check. The last argument is 64-bit (long-long) in Linux, but GNU C library offers POSIX API. I think that your opinion is the Right Thing, basically (handle in libc layer rather than in kernel). In general. But I wonder if you understand this problem, specifically. The issue is calling convention of long-long. I think that better way to solve this is implement pread with 6 arguments with dummy fourth argument, as MIPS implementation. I mean, fix kernel, fix glibc, BOTH. -- |