bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH 2/3] regex: rely on stdint.h for SIZE_MAX


From: Paul Eggert
Subject: [PATCH 2/3] regex: rely on stdint.h for SIZE_MAX
Date: Tue, 07 Feb 2012 23:20:08 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0

* lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now.
---
 ChangeLog            |    5 +++++
 lib/regex_internal.h |    5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9171da1..932a396 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2012-02-07  Paul Eggert  <address@hidden>
 
+       regex: rely on stdint.h for SIZE_MAX
+       * lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now.
+
+2012-02-07  Paul Eggert  <address@hidden>
+
        regex: merge glibc changes
 
        * lib/regcomp.c (init_dfa): Tighten overflow checks to test
diff --git a/lib/regex_internal.h b/lib/regex_internal.h
index 714b54c..891e178 100644
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -76,11 +76,6 @@
 # define gettext_noop(String) String
 #endif
 
-/* For loser systems without the definition.  */
-#ifndef SIZE_MAX
-# define SIZE_MAX ((size_t) -1)
-#endif
-
 #if (defined MB_CUR_MAX && HAVE_WCTYPE_H && HAVE_ISWCTYPE && HAVE_WCSCOLL) || 
_LIBC
 # define RE_ENABLE_I18N
 #endif
-- 
1.7.6.5



reply via email to

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