m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/m4/debug.c,v


From: Eric Blake
Subject: Changes to m4/m4/debug.c,v
Date: Tue, 23 Oct 2007 14:17:56 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      07/10/23 14:17:55

Index: m4/debug.c
===================================================================
RCS file: /sources/m4/m4/m4/debug.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- m4/debug.c  7 Aug 2007 03:15:26 -0000       1.33
+++ m4/debug.c  23 Oct 2007 14:17:54 -0000      1.34
@@ -209,9 +209,9 @@
   if (m4_get_current_line (context))
     {
       if (m4_is_debug_bit (context, M4_DEBUG_TRACE_FILE))
-       fprintf (debug_file, "%s:", m4_get_current_file (context));
+       xfprintf (debug_file, "%s:", m4_get_current_file (context));
       if (m4_is_debug_bit (context, M4_DEBUG_TRACE_LINE))
-       fprintf (debug_file, "%d:", m4_get_current_line (context));
+       xfprintf (debug_file, "%d:", m4_get_current_line (context));
     }
   putc (' ', debug_file);
 }
@@ -233,7 +233,7 @@
 
       m4_debug_message_prefix (context);
       va_start (args, format);
-      vfprintf (m4_get_debug_file (context), format, args);
+      xvfprintf (m4_get_debug_file (context), format, args);
       va_end (args);
       putc ('\n', m4_get_debug_file (context));
     }




reply via email to

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