mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
Re: Use make_tempname file descriptor in smart_rename
PR 27456 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2021-02-25 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR 27456
|
||||||
|
* rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
|
||||||
|
|
||||||
2021-02-24 Nick Clifton <nickc@redhat.com>
|
2021-02-24 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR 27285
|
PR 27285
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
Return 0 if ok, -1 if error. */
|
Return 0 if ok, -1 if error. */
|
||||||
|
|
||||||
static int
|
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 tofd, nread;
|
||||||
int saved;
|
int saved;
|
||||||
|
Reference in New Issue
Block a user