projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51096a4
)
regex: spelling fix
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 8 Feb 2012 07:07:48 +0000
(23:07 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 8 Feb 2012 07:18:05 +0000
(23:18 -0800)
* lib/regexec.c: spelling fix
ChangeLog
patch
|
blob
|
history
lib/regexec.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
932a396
..
96e2364
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,8
@@
2012-02-07 Paul Eggert <eggert@cs.ucla.edu>
+ regex: spelling fix
+ * lib/regexec.c: spelling fix
+
regex: rely on stdint.h for SIZE_MAX
* lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now.
diff --git
a/lib/regexec.c
b/lib/regexec.c
index
a0ea024
..
78c12d6
100644
(file)
--- a/
lib/regexec.c
+++ b/
lib/regexec.c
@@
-4146,7
+4146,7
@@
extend_buffers (re_match_context_t *mctx)
<= pstr->bufs_len, 0))
return REG_ESPACE;
- /* Double the length
e
s of the buffers. */
+ /* Double the lengths of the buffers. */
ret = re_string_realloc_buffers (pstr, MIN (pstr->len, pstr->bufs_len * 2));
if (BE (ret != REG_NOERROR, 0))
return ret;