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.
This commit is contained in:
Ian Lance Taylor 1992-09-10 16:25:31 +00:00
parent 2dd00294b9
commit b1520b1f70
3 changed files with 11 additions and 2 deletions

View 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) Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: use gas_target instead of modifying target_cpu. * Makefile.in: use gas_target instead of modifying target_cpu.

View file

@ -134,7 +134,9 @@ char *saved_position;
saved->next_saved_file = next_saved_file; saved->next_saved_file = next_saved_file;
saved->input_file_save = input_file_push(); 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); return((char *) saved);
} /* input_scrub_push() */ } /* input_scrub_push() */

View file

@ -123,7 +123,7 @@ char *filename;
as_where(); as_where();
fprintf(stderr, gripe, filename); fprintf(stderr, gripe, filename);
fprintf(stderr, "%s.\n", strerror(errno)); fprintf(stderr, ": %s\n", strerror(errno));
errno = 0; /* After reporting, clear it. */ errno = 0; /* After reporting, clear it. */
} /* as_perror() */ } /* as_perror() */