bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/363] ar no longer errors out on non-existent files


From: nickc at redhat dot com
Subject: [Bug binutils/363] ar no longer errors out on non-existent files
Date: 9 Sep 2004 11:52:01 -0000

------- Additional Comments From nickc at redhat dot com  2004-09-09 11:51 
-------
Hi,

  The problem is the call to get_file_size() in replace_members() which detects
an empty file but which does not cause the program to exit with an error code. 
Since ar_emul_append() can handle empty files correctly anyway, there is no need
for the get_file_size function call.  Thus I am applying the attached patch.

Cheers
  Nick

binutils/ChangeLog:
2004-09-09  Nick Clifton  <address@hidden>

        PR 363
        * ar.c (replace_members): Do not use get_file_size as
        ar_emul_append correctly handles missing files.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=363

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]