coreutils: Update from 8.28 to 8.29
[termux-packages] / packages / elfutils / elf_getarsym.c.patch
index 30a0d59..f49cdb6 100644 (file)
@@ -126,12 +126,3 @@ diff -u -r ../elfutils-0.159/libelf/elf_getarsym.c ./libelf/elf_getarsym.c
  
  static int
  read_number_entries (uint64_t *nump, Elf *elf, size_t *offp, bool index64_p)
-@@ -166,7 +284,7 @@
-       /* We have an archive.  The first word in there is the number of
-        entries in the table.  */
--      uint64_t n;
-+      uint64_t n = 0;
-       size_t off = elf->start_offset + SARMAG + sizeof (struct ar_hdr);
-       if (read_number_entries (&n, elf, &off, index64_p) < 0)
-       {