autoconf
[Top][All Lists]
Advanced

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

Re: ac-archive: ac_sys_largefile and libraries...


From: Paul Eggert
Subject: Re: ac-archive: ac_sys_largefile and libraries...
Date: Sat, 11 Jan 2003 11:48:55 -0800 (PST)

> Date: Sat, 11 Jan 2003 20:05:30 +0100
> From: Guido Draheim <address@hidden>

>  >>Perhaps introduce AC_TYPE_OFF64_T
>  >
>  >
>  > That is not a good name, because that should define off64_t, and the
>  > whole point is to avoid the use of off64_t entirely.
>  >
> Yes that was the point - it *should* declare off64_t, even on systems
> that have only 32bit off_t and where there is no largefile support at
> all.

Sorry, I'm lost.  If programs should not use off64_t, why should
config.h define it?  And why define the type on a host that doesn't
actually support it?

It's better to avoid off64_t entirely in source code.

> why not let those scripts check for spurious instances of
> fopen/lseek and friends and warn at them - so that libraries and
> modules are compiled 64bit always (using the alternate symbols
> fopen64/lseek64 instead, ye know).

That sounds like a reasonable approach, yes.




reply via email to

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