[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2Gig filesize limit problem....
- To: Linux-IL Mailing List <linux-il(at-nospam)linux.org.il>
- Subject: Re: 2Gig filesize limit problem....
- From: Yotam Rubin <yotam(at-nospam)makif.omer.k12.il>
- Date: Mon, 20 Nov 2000 14:48:33 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <Pine.LNX.4.31.0111200850460.21785-100000@geni.lan>
- Mail-Followup-To: Linux-IL Mailing List <linux-il@linux.org.il>
- References: <20011119141129.A6366@yotam@makif.omer.k12.il> <Pine.LNX.4.31.0111200850460.21785-100000@geni.lan>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.3.23i
On Tue, Nov 20, 2001 at 08:51:58AM +0200, Schlomo Schapiro wrote:
> I actually meant functions like ftell which return the position. If the
> function returns a 64bit integer but the programmer uses a 32bit integer
> this shouldn't work -- unless the compiler silently upgrades all 32bit
> integers ?
The programmer should use off_t as an offset type, not directly declare
a long variable. off_t's size is changed according to the interface you use.
But yes, if a programmer explicitly uses a long offset, then he's screwed.
Regards, Yotam Rubin
>
> Schlomo
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il