
9 May
2003
9 May
'03
9:42 a.m.
William Lee Irwin III
if (!(filp->f_flags & O_LARGEFILE) && inode->i_size > MAX_NON_LFS) return -EFBIG; What does strace(1) say it's doing?
On Fri, May 09, 2003 at 03:26:25PM +0200, Ketil Z. Malde wrote:
It says open("big_file", O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EFBIG (File too large) So it sounds like this is right on the money. (Even if the comment you included is wrong, this applies with O_RDONLY, too)
Oh, the comment is bogus. It's not checking in that function for O_RDONLY. I'll send in a patch. -- wli