* input-file.c (input_file_open): Replace as_perror with as_bad
authorAlan Modra <amodra@gmail.com>
Tue, 12 Sep 2006 23:57:26 +0000 (23:57 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 12 Sep 2006 23:57:26 +0000 (23:57 +0000)
commitf79d9c1df706aef4088cddd39a41c1f0c3ea64f3
tree84abd750a186f1e2a3de870179c88bc75707f34d
parent41198d0cfa94b0197dc8bdfb9542ad55ce980850
* 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.
gas/ChangeLog
gas/input-file.c
gas/input-file.h