mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2002-04-24 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (open_verify): Correct __lseek parameters. Patch by Simon Hildrew <simon@hildrew.net> [PR libc/3354]. 2002-04-23 H.J. Lu <hjl@gnu.org> * include/math.h (isfinite): Fix a typo. 2002-04-24 Ulrich Drepper <drepper@redhat.com> * 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 <bruno@clisp.org> * 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 <bruno@clisp.org> * iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f, to avoid gcc warning. 2002-04-20 Bruno Haible <bruno@clisp.org> * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask of data->__statep->__count. 2002-04-20 Bruno Haible <bruno@clisp.org> * 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.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user