bug-hurd
[Top][All Lists]
Advanced

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

Re: getconf LFS_CFLAGS


From: Andrew Clausen
Subject: Re: getconf LFS_CFLAGS
Date: Sun, 5 Aug 2001 20:52:51 +1000
User-agent: Mutt/1.2.5i

On Sun, Aug 05, 2001 at 12:45:56PM +0200, Neal H Walfield wrote:
> `getconf LFS_CFLAGS`x = x.  I realize that the 64 bit functions are not
> yet implemented, however, this also has the unfortunate side effect that
> programs which use only off_t and libstore see sizeof (off_t) == 4.
> What is the Right Thing to do?

I think sizeof (off_t) should be 8, regardless.

Reason: it will be 8 in the future, and maintainers are likely to
get libtool versioning wrong.  They will believe the interface
hasn't changed, and they maintained backward compatibility, when
in reality they haven't... so the libtool version numbering will
be wrong, and will introduce silent seg faults that will be a PITA
to track.

Better to make the subtle/incompat change sooner (when there are fewer
users, since presumebly they are monotic increasing... and also,
where incompat API changes are more frequent/expected ;)

Andrew




reply via email to

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