[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/27345] binutils/arsup.c: lstat() not available on all targ
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/27345] binutils/arsup.c: lstat() not available on all targets |
Date: |
Fri, 05 Feb 2021 04:48:12 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27345
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The binutils-2_36-branch branch has been updated by Alan Modra
<amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c0034ac596db89dfb5fa007a63488ad7af555fe9
commit c0034ac596db89dfb5fa007a63488ad7af555fe9
Author: Alan Modra <amodra@gmail.com>
Date: Fri Feb 5 12:59:16 2021 +1030
PR27345, binutils/arsup.c: lstat() not available on all targets
We can just use stat here, the same as is done in ar.c:open_inarch.
PR 27345
* arsup.c (ar_save): Use stat rather than lstat.
(cherry picked from commit c180f095f32ca62f138da9bc7fb96cac0365fb5d)
--
You are receiving this mail because:
You are on the CC list for the bug.