projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
931004e
)
fix a smallie but nasttie.
author
David Henkel-Wallace
<gumby@cygnus>
Fri, 19 Apr 1991 19:40:55 +0000
(19:40 +0000)
committer
David Henkel-Wallace
<gumby@cygnus>
Fri, 19 Apr 1991 19:40:55 +0000
(19:40 +0000)
binutils/ar.c
patch
|
blob
|
history
diff --git
a/binutils/ar.c
b/binutils/ar.c
index c5478741fa55f29fd42b16c6a9c36489a6ab3f0f..ab01510d3810582a0f3988751346393cbbeb3415 100644
(file)
--- a/
binutils/ar.c
+++ b/
binutils/ar.c
@@
-839,8
+839,6
@@
replace_members(files_to_move)
current = *current_ptr;
if (!strcmp(normalize(*files_to_move), current->filename)) {
- /* snip out this entry from the chain */
- *current_ptr = current->next;
if (newer_only) {
struct stat fsbuf,
asbuf;
@@
-864,6
+862,8
@@
replace_members(files_to_move)
goto next_file;
}
+ /* snip out this entry from the chain */
+ *current_ptr = current->next;
after_bfd = get_pos_bfd(&inarch->next, pos_end);
temp = *after_bfd;