gbranden pushed a commit to branch master
in repository groff.

commit aca7dd31e158456611b221927f9148ad06e77469
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Jun 11 09:28:40 2026 -0500

    [libgroff]: Fix preprocessor style nit.
    
    * src/libs/libgroff/quotearg.c: Undefine file-local preprocessor macros
      after we're done with them.
---
 ChangeLog                    | 5 +++++
 src/libs/libgroff/quotearg.c | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 3430948f7..97c1e4075 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-06-11  G. Branden Robinson <[email protected]>
+
+       * src/libs/libgroff/quotearg.c: Undefine file-local preprocessor
+       macros after we're done with them.
+
 2026-06-11  G. Branden Robinson <[email protected]>
 
        * src/libs/libgroff/quotearg.c: Rationalize header file
diff --git a/src/libs/libgroff/quotearg.c b/src/libs/libgroff/quotearg.c
index 60239f60b..779c995e3 100644
--- a/src/libs/libgroff/quotearg.c
+++ b/src/libs/libgroff/quotearg.c
@@ -206,6 +206,10 @@ purge_quoted_args(char **argv)
     }
 }
 
+#undef REPORT_ERROR
+#undef QUOTE_ARG_MALLOC_ERROR
+#undef QUOTE_ARG_REALLOC_ERROR
+
 // Local Variables:
 // fill-column: 72
 // mode: C++

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to