m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/m4/utility.c,v


From: Eric Blake
Subject: Changes to m4/m4/utility.c,v
Date: Sat, 07 Oct 2006 17:33:29 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/10/07 17:33:29

Index: m4/utility.c
===================================================================
RCS file: /sources/m4/m4/m4/utility.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- m4/utility.c        6 Oct 2006 15:24:10 -0000       1.51
+++ m4/utility.c        7 Oct 2006 17:33:28 -0000       1.52
@@ -21,6 +21,8 @@
 #include <config.h>
 
 #include "m4private.h"
+
+#include "exitfail.h"
 #include "progname.h"
 #include "verror.h"
 #include "xvasprintf.h"
@@ -224,3 +226,12 @@
 {
   set_program_name (name);
 }
+
+/* Wrap the gnulib exitfail module, to avoid exporting a global
+   variable from a library.  Set the exit status for use in gnulib
+   modules and atexit handlers.  */
+void
+m4_set_exit_failure (int status)
+{
+  exit_failure = status;
+}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]