[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/Attic/debug.c,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/src/Attic/debug.c,v [branch-1_4] |
Date: |
Mon, 22 Oct 2007 16:38:35 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 07/10/22 16:38:34
Index: src/debug.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/debug.c,v
retrieving revision 1.1.1.1.2.15
retrieving revision 1.1.1.1.2.16
diff -u -b -r1.1.1.1.2.15 -r1.1.1.1.2.16
--- src/debug.c 4 Aug 2007 20:40:11 -0000 1.1.1.1.2.15
+++ src/debug.c 22 Oct 2007 16:38:33 -0000 1.1.1.1.2.16
@@ -231,13 +231,13 @@
void
debug_message_prefix (void)
{
- fprintf (debug, "m4debug:");
+ xfprintf (debug, "m4debug:");
if (current_line)
{
if (debug_level & DEBUG_TRACE_FILE)
- fprintf (debug, "%s:", current_file);
+ xfprintf (debug, "%s:", current_file);
if (debug_level & DEBUG_TRACE_LINE)
- fprintf (debug, "%d:", current_line);
+ xfprintf (debug, "%d:", current_line);
}
putc (' ', debug);
}
@@ -261,7 +261,6 @@
char ch;
int d;
- char nbuf[32];
const char *s;
int slen;
int maxlen;
@@ -297,8 +296,7 @@
case 'd':
d = va_arg (args, int);
- sprintf (nbuf, "%d", d);
- s = nbuf;
+ s = ntoa (d, 10);
break;
default:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to m4/src/Attic/debug.c,v [branch-1_4],
Eric Blake <=