Hi,
(Sorry if I replied to the wrong address first time).
I think, I have found the source of the problem, it's line 2315 at
kern/vfs_syscalls.c:
if ((fp->f_offset < 0) || (fp->f_offset > LONG_MAX)) {
f_offset is type off_t, which is defined as long long, so it hits the
LONG_MAX limit .
I changed LONG_MAX to LLONG_MAX and everything works fine now.
--- sys/kern/vfs_syscalls.c 2010-07-02 02:03:32 +0400
+++ sys/kern/vfs_syscalls.c 2010-10-10 16:28:27 +0400
@@ -2312,7 +2312,7 @@
error = EBADF;
goto bad;
}
- if ((fp->f_offset < 0) || (fp->f_offset > LONG_MAX)) {
+ if ((fp->f_offset < 0) || (fp->f_offset > LLONG_MAX)) {
error = EINVAL;
goto bad;
}
2010/10/3, [email protected] <[email protected]>:
> Thank you very much for your problem report.
> It has the internal identification `system/6477'.
> The individual assigned to look at your
> report is: bugs.
>
>>Category: system
>>Responsible: bugs
>>Synopsis: NFS directory listing incomplete
>>Arrival-Date: Sun Oct 03 12:00:01 GMT 2010
--
Alexander Polakov | plhk.ru