From: Paul Eggert Date: Sun, 1 Oct 2023 01:03:48 +0000 (-0700) Subject: regex-quote: fix recently-introduced typo X-Git-Tag: v1.0~758 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=49a9f86340d4a226c82b708e01d9a178d4ae77ce;p=gnulib.git regex-quote: fix recently-introduced typo Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2023-09/msg00146.html * lib/regex-quote.c (regex_quote_copy): Add missing #endif. --- diff --git a/ChangeLog b/ChangeLog index a8b06d31c6..463a44ffbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2023-09-30 Paul Eggert + + regex-quote: fix recently-introduced typo + Problem reported by Bruno Haible in: + https://lists.gnu.org/r/bug-gnulib/2023-09/msg00146.html + * lib/regex-quote.c (regex_quote_copy): Add missing #endif. + 2023-09-30 Bruno Haible wgetcwd-lgpl: Add tests. diff --git a/lib/regex-quote.c b/lib/regex-quote.c index 45fac5abce..f24760fdc7 100644 --- a/lib/regex-quote.c +++ b/lib/regex-quote.c @@ -211,6 +211,7 @@ regex_quote_copy (char *p, const char *string, const struct regex_quote_spec *sp memcpy (p, mbui_cur_ptr (iter), mb_len (mbui_cur (iter))); p += mb_len (mbui_cur (iter)); } +#endif } else {