[PATCH v2] binutils: objcopy/strip: fix preserving dates in ar archives
Andreas Schwab
schwab@linux-m68k.org
Tue Sep 28 08:11:35 GMT 2021
On Sep 28 2021, Gleb Fotengauer-Malinovskiy wrote:
> diff --git a/binutils/objcopy.c b/binutils/objcopy.c
> index a6c2e0dcc26..0a3a9fb062e 100644
> --- a/binutils/objcopy.c
> +++ b/binutils/objcopy.c
> @@ -3600,6 +3600,7 @@ copy_archive (bfd *ibfd, bfd *obfd, const char *output_target,
>
> if (preserve_dates)
> {
> + memset (&buf, 0, sizeof(buf));
Style: space before paren.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Binutils
mailing list