gbranden pushed a commit to branch master
in repository groff.

commit dfcc838ba54f1fd584983cf007c535669988dbca
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Aug 21 21:01:09 2024 -0500

    m4/groff.m4: Fix Savannah #65762 some more.
    
    * m4/groff.m4 (GROFF_WCOREFLAG): Include <stdlib.h> header file in test
      program, since it calls exit(3).  Thanks to Eli Schwartz for noting
      the problem.
    
    Continues fixing <https://savannah.gnu.org/bugs/?65762>.
---
 ChangeLog   | 8 ++++++++
 m4/groff.m4 | 1 +
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index d446fe374..b8b1c48a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-08-21  G. Branden Robinson <[email protected]>
+
+       * m4/groff.m4 (GROFF_WCOREFLAG): Include <stdlib.h> header file
+       in test program, since it calls exit(3).  Thanks to Eli Schwartz
+       for noting the problem.
+
+       Continues fixing <https://savannah.gnu.org/bugs/?65762>.
+
 2024-08-25  G. Branden Robinson <[email protected]>
 
        * doc/doc.am (doc/groff-man-pages.pdf)
diff --git a/m4/groff.m4 b/m4/groff.m4
index 2fc9fbad8..09a4b745f 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -942,6 +942,7 @@ AC_DEFUN([GROFF_WCOREFLAG],
    AC_RUN_IFELSE([
        AC_LANG_PROGRAM([[
 
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 

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

Reply via email to