From 0e15c4b6b59de21ef1f6f446a644ac3ed041016c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 24 Apr 2002 21:09:14 +0000 Subject: Update. 2002-04-24 Ulrich Drepper * elf/dl-load.c (open_verify): Correct __lseek parameters. Patch by Simon Hildrew [PR libc/3354]. 2002-04-23 H.J. Lu * include/math.h (isfinite): Fix a typo. 2002-04-24 Ulrich Drepper * libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale which is created by the test suite. 2002-04-20 Bruno Haible * iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4. (BODY for FROM_LOOP): Fix comparisons between inptr and inend. 2002-04-20 Bruno Haible * iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f, to avoid gcc warning. 2002-04-20 Bruno Haible * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask of data->__statep->__count. 2002-04-20 Bruno Haible * iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode tag characters. * iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise. * sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file. * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file. --- elf/dl-load.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'elf') diff --git a/elf/dl-load.c b/elf/dl-load.c index b404205..fd80be6 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -863,7 +863,7 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp, else { phdr = alloca (maplength); - __lseek (fd, SEEK_SET, header->e_phoff); + __lseek (fd, header->e_phoff, SEEK_SET); if (__libc_read (fd, (void *) phdr, maplength) != maplength) { errstring = N_("cannot read file data"); @@ -1416,7 +1416,7 @@ open_verify (const char *name, struct filebuf *fbp) else { phdr = alloca (maplength); - __lseek (fd, SEEK_SET, ehdr->e_phoff); + __lseek (fd, ehdr->e_phoff, SEEK_SET); if (__libc_read (fd, (void *) phdr, maplength) != maplength) { read_error: @@ -1434,7 +1434,7 @@ open_verify (const char *name, struct filebuf *fbp) abi_note = (void *) (fbp->buf + ph->p_offset); else { - __lseek (fd, SEEK_SET, ph->p_offset); + __lseek (fd, ph->p_offset, SEEK_SET); if (__libc_read (fd, (void *) abi_note_buf, 32) != 32) goto read_error; -- cgit v1.1