From 5b059da1d4103cacb3235e8cb1dae673045e390c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 7 Feb 2012 23:07:48 -0800 Subject: [PATCH] regex: spelling fix * lib/regexec.c: spelling fix --- ChangeLog | 3 +++ lib/regexec.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 932a396df..96e236400 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-02-07 Paul Eggert + 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 a0ea02401..78c12d60c 100644 --- 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 lengthes 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; -- 2.11.0