This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gas attempting to assemble non-existent file


>@@ -248,10 +246,8 @@ input_file_give_next_buffer (char *where
>   else
>     {
>       if (fclose (f_in))
>-	{
>-	  bfd_set_error (bfd_error_system_call);
>-	  as_perror (_("Can't close %s"), file_name);
>-	}
>+	as_bad (_("can't close %s: %s"), file_name, xstrerror (errno));
>+
>       f_in = (FILE *) 0;
>       return_value = 0;
>     }

Couldn't this be just as_warn()?

Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]