Paul Eggert wrote:
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.

Nope, x86_x64 Windows. I realize gcc isn't ported there yet, but that's how the VC compilers work. I'd like to hope gcc would Do Things Right when it is ported, but on further thought I suppose it can't since it would break system headers :-(.

Why would you assume IA64? x86_64 *is* after all already a viable target for GNU software (using the MSVC compilers on SUA, at any rate)...

Anyway, as you say, I don't think this is a problem anywhere since even 32-bit Windows has true 64-bit data types (unlike the excitement that is NSK with only signed 64-bit! :-)), even MS just *had* to be different (as always).

--
Matthew
When on POSIX, do as POSIX mandates.



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to