]> Savannah Git Hosting - gnulib.git/commitdiff
regex: fix typo in definition of MIN
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Feb 2012 21:03:34 +0000 (13:03 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Feb 2012 21:06:04 +0000 (13:06 -0800)
* lib/regex_internal.h (MIN): Fix typo.  Problem reported by Thomas
Schwinge in <http://sourceware.org/bugzilla/show_bug.cgi?id=11638#c4>.

ChangeLog
lib/regex_internal.h

index 1577313b6ee23d8e2802e5f18885f451a7c1f605..444422e498d46110e35f76c6591fcc074ecd4004 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       regex: fix typo in definition of MIN
+       * lib/regex_internal.h (MIN): Fix typo.  Problem reported by Thomas
+       Schwinge in <http://sourceware.org/bugzilla/show_bug.cgi?id=11638#c4>.
+
 2012-02-19  Paul Eggert  <eggert@cs.ucla.edu>
            Bruno Haible  <bruno@clisp.org>
 
index 85855e021c0c1197d1bbb5a7a6cdbed2b348e759..2b9f69756ead0233320d59fae9680ed43a232a0f 100644 (file)
@@ -470,7 +470,7 @@ static unsigned int re_string_context_at (const re_string_t *input, Idx idx,
 # define MAX(a,b) ((a) < (b) ? (b) : (a))
 #endif
 #ifndef MIN
-# define MIN(a,b) ((a) < (b) ? (b) : (a))
+# define MIN(a,b) ((a) < (b) ? (a) : (b))
 #endif
 
 #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t)))