PR 86
* arsup.c (ar_save): Use smart_rename.
This commit is contained in:
parent
b7d7dc6302
commit
1ba93119e8
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
|
||||||
|
|
||||||
|
PR 86
|
||||||
|
* arsup.c (ar_save): Use smart_rename.
|
||||||
|
|
||||||
2004-04-01 Dean Luick <luick@cray.com>
|
2004-04-01 Dean Luick <luick@cray.com>
|
||||||
|
|
||||||
* readelf.c (display_debug_pubnames): Align offset and data
|
* readelf.c (display_debug_pubnames): Align offset and data
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* arsup.c - Archive support for MRI compatibility
|
/* 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.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU Binutils.
|
This file is part of GNU Binutils.
|
||||||
|
@ -333,7 +333,7 @@ ar_save (void)
|
||||||
|
|
||||||
bfd_close (obfd);
|
bfd_close (obfd);
|
||||||
|
|
||||||
rename (ofilename, real_name);
|
smart_rename (ofilename, real_name, 0);
|
||||||
obfd = 0;
|
obfd = 0;
|
||||||
free (ofilename);
|
free (ofilename);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue