m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/src/freeze.c,v [branch-1_4]


From: Eric Blake
Subject: Changes to m4/src/freeze.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/freeze.c
===================================================================
RCS file: /sources/m4/m4/src/freeze.c,v
retrieving revision 1.1.1.1.2.18
retrieving revision 1.1.1.1.2.19
diff -u -b -r1.1.1.1.2.18 -r1.1.1.1.2.19
--- src/freeze.c        18 Oct 2007 01:57:14 -0000      1.1.1.1.2.18
+++ src/freeze.c        22 Oct 2007 16:38:33 -0000      1.1.1.1.2.19
@@ -64,15 +64,15 @@
 
   /* Write a recognizable header.  */
 
-  fprintf (file, "# This is a frozen state file generated by %s\n",
+  xfprintf (file, "# This is a frozen state file generated by %s\n",
           PACKAGE_STRING);
-  fprintf (file, "V1\n");
+  xfprintf (file, "V1\n");
 
   /* Dump quote delimiters.  */
 
   if (strcmp (lquote.string, DEF_LQUOTE) || strcmp (rquote.string, DEF_RQUOTE))
     {
-      fprintf (file, "Q%d,%d\n", (int) lquote.length, (int) rquote.length);
+      xfprintf (file, "Q%d,%d\n", (int) lquote.length, (int) rquote.length);
       fputs (lquote.string, file);
       fputs (rquote.string, file);
       fputc ('\n', file);
@@ -82,7 +82,7 @@
 
   if (strcmp (bcomm.string, DEF_BCOMM) || strcmp (ecomm.string, DEF_ECOMM))
     {
-      fprintf (file, "C%d,%d\n", (int) bcomm.length, (int) ecomm.length);
+      xfprintf (file, "C%d,%d\n", (int) bcomm.length, (int) ecomm.length);
       fputs (bcomm.string, file);
       fputs (ecomm.string, file);
       fputc ('\n', file);
@@ -103,7 +103,7 @@
          switch (SYMBOL_TYPE (sym))
            {
            case TOKEN_TEXT:
-             fprintf (file, "T%d,%d\n",
+             xfprintf (file, "T%d,%d\n",
                       (int) strlen (SYMBOL_NAME (sym)),
                       (int) strlen (SYMBOL_TEXT (sym)));
              fputs (SYMBOL_NAME (sym), file);
@@ -119,7 +119,7 @@
 INTERNAL ERROR: builtin not found in builtin table!"));
                  abort ();
                }
-             fprintf (file, "F%d,%d\n",
+             xfprintf (file, "F%d,%d\n",
                       (int) strlen (SYMBOL_NAME (sym)),
                       (int) strlen (bp->name));
              fputs (SYMBOL_NAME (sym), file);




reply via email to

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