mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
Re: Use make_tempname file descriptor in smart_rename
PR 27456
* rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
(cherry picked from commit 40b02646ec
)
This commit is contained in:
parent
08bdb5f4f9
commit
1aad0a424a
@ -1,6 +1,10 @@
|
||||
2021-02-26 Alan Modra <amodra@gmail.com>
|
||||
|
||||
Backport from mainline
|
||||
2021-02-25 Alan Modra <amodra@gmail.com>
|
||||
PR 27456
|
||||
* rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
|
||||
|
||||
2021-02-24 Alan Modra <amodra@gmail.com>
|
||||
Siddhesh Poyarekar <siddhesh@gotplt.org>
|
||||
PR 27456
|
||||
|
@ -35,7 +35,8 @@
|
||||
Return 0 if ok, -1 if error. */
|
||||
|
||||
static int
|
||||
simple_copy (int fromfd, const char *to, struct stat *target_stat)
|
||||
simple_copy (int fromfd, const char *to,
|
||||
struct stat *target_stat ATTRIBUTE_UNUSED)
|
||||
{
|
||||
int tofd, nread;
|
||||
int saved;
|
||||
|
Loading…
Reference in New Issue
Block a user