bug-gnulib
[Top][All Lists]
Advanced

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

Re: new snapshot available: coreutils-7.6.63-addb6


From: Eric Blake
Subject: Re: new snapshot available: coreutils-7.6.63-addb6
Date: Tue, 06 Oct 2009 06:05:34 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 10/6/2009 5:01 AM:
>> However given that SIZE_MAX should be in stdint.h according to POSIX,
>> maybe it makes more sense to make sure gnulib's stdint.h replacement is
>> enabled when SIZE_MAX is not provided by the system's stdint.h?  And
>> then deprecate size_max.h in favor of stdint.
> 
> AFAICS, gettext and xsize are the only gnulib modules that use it,
> so deprecating size_max sounds like a good idea, assuming
> Bruno doesn't mind adjusting those two modules.

Bruno's already mentioned the desire to manually define SIZE_MAX in those
two modules, so that he does NOT have to drag in the stdint replacement
header, so I think we're stuck keeping size_max for a while longer.  But
yes, other modules should be able to use SIZE_MAX without worrying about
declaring it themselves.

SSIZE_MAX is a different beast; we don't have a limits.in.h replacement
yet.  And since limits.h doesn't define any functions or types, our usual
trick of finding the right #include_next mechanism won't work.  In this
particular case of rpl_linkat, the only systems with linkat are new enough
to already have SSIZE_MAX in <limits.h>; but for areadlink, there are
probably still systems which lack SSIZE_MAX but where areadlink still
needs to compile.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrLMo4ACgkQ84KuGfSFAYCq3gCeMnCM0yRSFihU8h3WBWMChe8y
D9oAn1jTsZxM4KNurZ3EzUnM4l00Guoe
=MBjS
-----END PGP SIGNATURE-----




reply via email to

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