+2004-09-09 Nick Clifton <nickc@redhat.com>
+
+ PR 363
+ * ar.c (replace_members): Do not use get_file_size as
+ ar_emul_append correctly handles missing files.
+
2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated with autconfig 2.13.
replace_members (bfd *arch, char **files_to_move, bfd_boolean quick)
{
bfd_boolean changed = FALSE;
- bfd **after_bfd; /* New entries go after this one */
+ bfd **after_bfd; /* New entries go after this one. */
bfd *current;
bfd **current_ptr;
/* Add to the end of the archive. */
after_bfd = get_pos_bfd (&arch->next, pos_end, NULL);
- if (get_file_size (* files_to_move) > 0
- && ar_emul_append (after_bfd, *files_to_move, verbose))
+ if (ar_emul_append (after_bfd, *files_to_move, verbose))
changed = TRUE;
next_file:;