[Top][All Lists]

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


From: Simon Josefsson
Subject: Re: SIZE_MAX
Date: Tue, 26 May 2009 14:43:07 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Simon Josefsson wrote:
>> Bruno, what do you think about simply deprecating the size_max module?
> This would cause problems in libintl. The intl/ directory, when shipped
> as part of a package that used gettextize, should not create its own copy
> of stdint.h.

Btw, why not?  It seems it could create it under, say, intl/gl/

> But the intl/ directory contains vasnprintf.c, which depends on
> xsize.h, which needs a definition of SIZE_MAX. For this reason,
> xsize.h arranges to get a correct SIZE_MAX in the cheapest possible
> way.

How about clarifying the intentions behind the size_max module a bit
better?  It seems most applications will want to include stdint.h and
depend on the stdint gnulib module, rather than using the gnulib
size_max module.


diff --git a/modules/size_max b/modules/size_max
index df4b1bc..1981b6c 100644
--- a/modules/size_max
+++ b/modules/size_max
@@ -1,5 +1,5 @@
-Provide SIZE_MAX.
+Provide SIZE_MAX without using the gnulib stdint module.

reply via email to

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