m4-commit
[Top][All Lists]
Advanced

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

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


From: Eric Blake
Subject: Changes to m4/src/Attic/output.c,v [branch-1_4]
Date: Fri, 23 Jun 2006 13:06:13 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/06/23 13:06:10

Index: src/output.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/output.c,v
retrieving revision 1.1.1.1.2.5
retrieving revision 1.1.1.1.2.6
diff -u -b -r1.1.1.1.2.5 -r1.1.1.1.2.6
--- src/output.c        22 Jun 2006 14:55:48 -0000      1.1.1.1.2.5
+++ src/output.c        23 Jun 2006 13:06:10 -0000      1.1.1.1.2.6
@@ -182,7 +182,7 @@
       selected_diversion->file = tmpfile ();
       if (selected_diversion->file == NULL)
        M4ERROR ((EXIT_FAILURE, errno,
-                 "ERROR: Cannot create temporary file for diversion"));
+                 "ERROR: cannot create temporary file for diversion"));
 
       if (selected_diversion->used > 0)
        {
@@ -192,7 +192,7 @@
                          selected_diversion->file);
          if (count != 1)
            M4ERROR ((EXIT_FAILURE, errno,
-                     "ERROR: Cannot flush diversion to temporary file"));
+                     "ERROR: cannot flush diversion to temporary file"));
        }
 
       /* Reclaim the buffer space for other diversions.  */
@@ -276,7 +276,7 @@
     {
       count = fwrite (text, length, 1, output_file);
       if (count != 1)
-       M4ERROR ((EXIT_FAILURE, errno, "ERROR: Copying inserted file"));
+       M4ERROR ((EXIT_FAILURE, errno, "ERROR: copying inserted file"));
     }
   else
     {
@@ -458,7 +458,7 @@
     {
       length = fread (buffer, 1, COPY_BUFFER_SIZE, file);
       if (ferror (file))
-       M4ERROR ((EXIT_FAILURE, errno, "ERROR: Reading inserted file"));
+       M4ERROR ((EXIT_FAILURE, errno, "ERROR: reading inserted file"));
       if (length == 0)
        break;
       output_text (buffer, length);
@@ -559,7 +559,7 @@
            {
              fflush (diversion->file);
              if (fstat (fileno (diversion->file), &file_stat) < 0)
-               M4ERROR ((EXIT_FAILURE, errno, "Cannot stat diversion"));
+               M4ERROR ((EXIT_FAILURE, errno, "cannot stat diversion"));
              fprintf (file, "D%d,%d", divnum, (int) file_stat.st_size);
            }
          else




reply via email to

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