xfs
[Top] [All Lists]

Re: tcsh/linux bug with large files

To: "Andi Kleen" <ak@xxxxxxx>
Subject: Re: tcsh/linux bug with large files
From: "Jarrod Smith" <jsmith@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Apr 2001 10:01:30 -0500
Cc: <linux-xfs@xxxxxxxxxxx>
Organization: Vanderbilt University
References: <00e401c0ce5f$44b37340$6901a8c0@dhs.org> <20010426164717.A22279@gruyere.muc.suse.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
From: "Andi Kleen" <ak@xxxxxxx>
> Try to recompile tcsh with -D_FILE_OFFSET_BITS=64
>
> It is probably trying to stat(2)ing to files it wildcards, and for non
LFS
> aware applications that will fail for big files with E2BIG.
>
> -Andi

Thx for the speedy reply.  This (and also -D_USE_LARGEFILE64) is exactly
the fix that the tcsh folks came up with, and a patch is forthcoming for
that app.

I'm wondering why this isn't (or shouldn't be) defined in stat.h by
default on RH7.x (and perhaps other distros, too?).  What does SuSE do?
Is this totally up to the application to define correctly?

Mainly I'm worried that this is this going to bite me in some other
(perhaps more significant) way.

Thanks



<Prev in Thread] Current Thread [Next in Thread>