diff options
| author | Roland McGrath <[email protected]> | 2008-12-10 21:42:06 -0800 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2008-12-10 21:42:06 -0800 |
| commit | d353328036180fc028fd367e5fd49e69511b4436 (patch) | |
| tree | 40da15ae4a211a5121c651181e654c2133a2c411 | |
| parent | 5d3bd4f85e36c733d25d5cee69938401bea64478 (diff) | |
* elf_getarhdr.c (elf_getarhdr): Fix missing rename in last change.
| -rw-r--r-- | libelf/ChangeLog | 4 | ||||
| -rw-r--r-- | libelf/elf_getarhdr.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog index f4da1295..5c603f2f 100644 --- a/libelf/ChangeLog +++ b/libelf/ChangeLog @@ -1,3 +1,7 @@ +2008-12-10 Roland McGrath <[email protected]> + + * elf_getarhdr.c (elf_getarhdr): Fix missing rename in last change. + 2008-10-22 Petr Machata <[email protected]> * elf_rawfile.c (elf_rawfile): Lock around elf-> references. diff --git a/libelf/elf_getarhdr.c b/libelf/elf_getarhdr.c index 6cc6eddb..61e4e0a2 100644 --- a/libelf/elf_getarhdr.c +++ b/libelf/elf_getarhdr.c @@ -77,7 +77,7 @@ elf_getarhdr (elf) /* Make sure we have read the archive header. */ if (parent->state.ar.elf_ar_hdr.ar_name == NULL - && __libelf_next_arhdr (parent) != 0) + && __libelf_next_arhdr_wrlock (parent) != 0) { rwlock_wrlock (parent->lock); int st = __libelf_next_arhdr_wrlock (parent); |
