diff options
author | Alan Modra <amodra@gmail.com> | 2004-04-07 05:11:24 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-04-07 05:11:24 +0000 |
commit | 1ba93119e8e3d0c01b44ad8317551e5b886783b0 (patch) | |
tree | d6f2e8789901f0d223145c9e9a17d465d06d1d68 /binutils/arsup.c | |
parent | b7d7dc63026fd9eae97fdd54a7dda6d3d58ecd02 (diff) | |
download | gdb-1ba93119e8e3d0c01b44ad8317551e5b886783b0.zip gdb-1ba93119e8e3d0c01b44ad8317551e5b886783b0.tar.gz gdb-1ba93119e8e3d0c01b44ad8317551e5b886783b0.tar.bz2 |
PR 86
* arsup.c (ar_save): Use smart_rename.
Diffstat (limited to 'binutils/arsup.c')
-rw-r--r-- | binutils/arsup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/arsup.c b/binutils/arsup.c index a621bf9..5160dc4 100644 --- a/binutils/arsup.c +++ b/binutils/arsup.c @@ -1,5 +1,5 @@ /* arsup.c - Archive support for MRI compatibility - Copyright 1992, 1994, 1995, 1996, 1997, 2000, 2002, 2003 + Copyright 1992, 1994, 1995, 1996, 1997, 2000, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -333,7 +333,7 @@ ar_save (void) bfd_close (obfd); - rename (ofilename, real_name); + smart_rename (ofilename, real_name, 0); obfd = 0; free (ofilename); } |