[Top][All Lists]

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

Re: Largefile tests

From: Paul Eggert
Subject: Re: Largefile tests
Date: Thu, 28 Dec 2000 14:23:14 -0800 (PST)

> Date: Thu, 28 Dec 2000 22:36:22 +0100 (MET)
> From: Joerg Schilling <address@hidden>

> I did it this way and added a test for large file ability at all.

Your version fixes the immediate problem with _XOPEN_SOURCE, but it is
missing some of the other improvements that are in my version:

* There's no need to set _LARGEFILE_SOURCE unless you're using
  fseeko/ftello, so break this test out into a separate macro

* Do not reject compilers that incorrectly use C++-style rules to
  evaluate large integer constants.  (These are apparently quite
  popular in some environments.)

> This was needed because I now cannot just check for _LFS_LARGEFILE
> as the standard proposes.

Yes.  _LFS_LARGEFILE was never really adopted.  Even the latest POSIX
draft doesn't talk about the largefile stuff (I think because they
hope it'll go away :-).

reply via email to

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