bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: portability tweak for Tru64 V4.0.


From: Paul Eggert
Subject: Re: FYI: portability tweak for Tru64 V4.0.
Date: Wed, 25 Oct 2006 16:08:02 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

>> the ftello
>> substitute needs to worry about overflow only on hosts where long int
>> is wider than off_t.  But I don't know of any such hosts and don't
>> expect that there will ever be any.
>
> Too late, Windows is one.

I assume you're talking about IA-64 Windows.  But as I understand it,
long int is 32 bits on that platform, and off_t is 64 bits, so it's
not a problem.

The ftello substitute doesn't need to do anything special if long int
is narrower than off_t.  It needs to worry only if long int is wider
than off_t.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]