Conflicts.
authorjbj <devnull@localhost>
Tue, 26 Nov 2002 22:57:29 +0000 (22:57 +0000)
committerjbj <devnull@localhost>
Tue, 26 Nov 2002 22:57:29 +0000 (22:57 +0000)
CVS patchset: 5891
CVS date: 2002/11/26 22:57:29

elfutils/configure.ac
elfutils/libelf/elf_rand.c

index 4c0a9a9..f28dd42 100644 (file)
@@ -16,7 +16,7 @@ dnl You should have received a copy of the GNU General Public License
 dnl along with this program; if not, write to the Free Software Foundation,
 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 dnl
-AC_INIT([elfutils],[0.58],[drepper@redhat.com],[elfutils])
+AC_INIT([elfutils],[0.59],[drepper@redhat.com],[elfutils])
 AM_INIT_AUTOMAKE([gnits 1.6.3 dist-bzip2])
 AC_COPYRIGHT([Copyright (C) 1996-2001, 2002 Red Hat, Inc.])
 AC_CONFIG_SRCDIR([libelf/elf_begin.c])
index b6a560e..e91dcdd 100644 (file)
@@ -33,7 +33,7 @@ elf_rand (Elf *elf, size_t offset)
     return 0;
 
   /* Save the old offset and set the offset.  */
-  elf->state.ar.offset = offset;
+  elf->state.ar.offset = elf->start_offset + offset;
 
   /* Get the next archive header.  */
   if (__libelf_next_arhdr (elf) != 0)