Re: olarge -- force O_LARGEFILE on app binaries.

Tigran Aivazian (tigran@veritas.com)
Mon, 14 Apr 2003 17:29:18 +0100 (BST)


On Mon, 14 Apr 2003, Andreas Dilger wrote:
> I don't see how this helps you very much. So now, instead of the kernel
> complaining with EFBIG and/or SIGXFSZ, your 32-bit size offset wraps in
> the application.

Good point, but, very _very_ luckily it does NOT happen in this case, i.e.
with gs(1). I just verified every bit of output and it is correct both
before and beyond the 2G boundary, all the way to 5.2G. But in general
(i.e. for some other app) your comment is valid.

Regards
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/