projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a0b25da
)
regex: fix off-by-one error in configure test
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 1 Feb 2013 00:41:35 +0000
(16:41 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 1 Feb 2013 05:08:20 +0000
(21:08 -0800)
* m4/regex.m4 (gl_REGEX): Test should return 21, not 20.
ChangeLog
patch
|
blob
|
history
m4/regex.m4
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
74dad7e
..
51346e4
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2013-01-31 Paul Eggert <eggert@cs.ucla.edu>
+
+ regex: fix off-by-one error in configure test
+ * m4/regex.m4 (gl_REGEX): Test should return 21, not 20.
+
2013-01-31 Eric Blake <eblake@redhat.com>
regex: avoid infinite configure test
diff --git
a/m4/regex.m4
b/m4/regex.m4
index
944dfaf
..
958c663
100644
(file)
--- a/
m4/regex.m4
+++ b/
m4/regex.m4
@@
-92,7
+92,7
@@
AC_DEFUN([gl_REGEX],
result |= 1;
else if (re_search (®ex, data, sizeof data - 1,
0, sizeof data - 1, 0)
- != 2
0
)
+ != 2
1
)
result |= 1;
}