From 49a9f86340d4a226c82b708e01d9a178d4ae77ce Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 30 Sep 2023 18:03:48 -0700 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ lib/regex-quote.c | 1 + 2 files changed, 8 insertions(+) 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 { -- 2.39.5