m4-commit
[Top][All Lists]
Advanced

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

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


From: Eric Blake
Subject: Changes to m4/src/Attic/m4.c,v [branch-1_4]
Date: Sun, 17 Dec 2006 04:22:34 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/12/17 04:22:34

Index: src/m4.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/m4.c,v
retrieving revision 1.1.1.1.2.38
retrieving revision 1.1.1.1.2.39
diff -u -b -r1.1.1.1.2.38 -r1.1.1.1.2.39
--- src/m4.c    8 Nov 2006 05:08:26 -0000       1.1.1.1.2.38
+++ src/m4.c    17 Dec 2006 04:22:34 -0000      1.1.1.1.2.39
@@ -563,9 +563,9 @@
      stream and detect any errors it might have encountered.  Close
      stdin if we read from it, to detect any errors.  */
   debug_set_output (NULL);
-  if (read_stdin && fclose (stdin) == EOF)
+  if (read_stdin && close_stream (stdin) == EOF)
     {
-      M4ERROR ((warning_status, errno, "error reading file"));
+      M4ERROR ((warning_status, errno, "error reading stdin"));
       retcode = EXIT_FAILURE;
     }
 




reply via email to

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