Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
authorIan Lance Taylor <ian@airs.com>
Thu, 10 Sep 1992 16:25:31 +0000 (16:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 10 Sep 1992 16:25:31 +0000 (16:25 +0000)
* input-scrub.c (input_scrub_push): call input_file_begin, not
input_scrub_begin.
messages.c (as_perror): print ": " between the passed in error and
the strerror, like perror does.

gas/ChangeLog
gas/input-scrub.c
gas/messages.c

index 38ef824a052fba314f41173f18e04f935fe8d3df..45fddc4be861f217b4a92783d432cc7406bad226 100644 (file)
@@ -1,3 +1,10 @@
+Thu Sep 10 09:23:15 1992  Ian Lance Taylor  (ian@cygnus.com)
+
+       * input-scrub.c (input_scrub_push): call input_file_begin, not
+       input_scrub_begin.
+       messages.c (as_perror): print ": " between the passed in error and
+       the strerror, like perror does.
+
 Wed Sep  9 11:06:25 1992  Ian Lance Taylor  (ian@cygnus.com)
 
        * Makefile.in: use gas_target instead of modifying target_cpu.
index c2a6114c989c70a92c806531a42c45052b11a0e6..bdfd91ca978bde9285b59b9fbd601aae6d297fb4 100644 (file)
@@ -134,7 +134,9 @@ char *saved_position;
        saved->next_saved_file          = next_saved_file;
        saved->input_file_save          = input_file_push();
        
-       input_scrub_begin();            /* Reinitialize! */
+       input_file_begin();             /* Reinitialize! */
+       logical_input_line = 0;
+       logical_input_file = (char *)NULL;
        
        return((char *) saved);
 } /* input_scrub_push() */
index d5c92314e5b4649f70b646a76436bd5746eb241f..0b5652741e183659d64b2e0ceba287f722b7b777 100644 (file)
@@ -123,7 +123,7 @@ char *filename;
 
        as_where();
        fprintf(stderr, gripe, filename);
-       fprintf(stderr, "%s.\n", strerror(errno));
+       fprintf(stderr, ": %s\n", strerror(errno));
        errno = 0; /* After reporting, clear it. */
 } /* as_perror() */