summaryrefslogtreecommitdiff
path: root/gas/input-file.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2006-09-12 23:57:26 +0000
committerAlan Modra <amodra@bigpond.net.au>2006-09-12 23:57:26 +0000
commit649d679f9dc5c67aec7fee461046da6e26db3da8 (patch)
tree0ca3fbb27d86d677628c50eb47a854f0c912eb02 /gas/input-file.h
parent1efb98cb75c1ac14d68efa4ab7dd22b711d9e96f (diff)
downloadbinutils-redhat-649d679f9dc5c67aec7fee461046da6e26db3da8.tar.gz
* input-file.c (input_file_open): Replace as_perror with as_bad
so that gas exits with error on file errors. Correct error message. (input_file_get, input_file_give_next_buffer): Likewise.
Diffstat (limited to 'gas/input-file.h')
-rw-r--r--gas/input-file.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/input-file.h b/gas/input-file.h
index bc8289e4e4..0628716b64 100644
--- a/gas/input-file.h
+++ b/gas/input-file.h
@@ -1,5 +1,6 @@
/* input_file.h header for input-file.c
- Copyright 1987, 1992, 1993, 2000, 2003 Free Software Foundation, Inc.
+ Copyright 1987, 1992, 1993, 2000, 2003, 2005, 2006
+ Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -51,8 +52,8 @@
*
* input_file_close () Closes opened file.
*
- * All errors are reported (using as_perror) so caller doesn't have to think
- * about I/O errors. No I/O errors are fatal: an end-of-file may be faked.
+ * All errors are reported so caller doesn't have to think
+ * about I/O errors.
*/
char *input_file_give_next_buffer (char *where);