mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 16:21:06 +00:00
* elf/dl-misc.c: Undo last change. The kernel won't allow it.
This commit is contained in:
parent
5e88abf945
commit
c6c8f0eca3
@ -1,3 +1,7 @@
|
|||||||
|
2007-08-14 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* elf/dl-misc.c: Undo last change. The kernel won't allow it.
|
||||||
|
|
||||||
2007-08-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
2007-08-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
||||||
|
|
||||||
* stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def.
|
* stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Miscellaneous support functions for dynamic linker
|
/* Miscellaneous support functions for dynamic linker
|
||||||
Copyright (C) 1997-2004, 2006, 2007 Free Software Foundation, Inc.
|
Copyright (C) 1997-2002, 2003, 2004, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -55,11 +55,7 @@ _dl_sysdep_read_whole_file (const char *file, size_t *sizep, int prot)
|
|||||||
{
|
{
|
||||||
void *result = MAP_FAILED;
|
void *result = MAP_FAILED;
|
||||||
struct stat64 st;
|
struct stat64 st;
|
||||||
int oflags = O_RDONLY;
|
int fd = __open (file, O_RDONLY);
|
||||||
#ifdef O_NOATIME
|
|
||||||
oflags |= O_NOATIME;
|
|
||||||
#endif
|
|
||||||
int fd = __open (file, oflags);
|
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
{
|
{
|
||||||
if (__fxstat64 (_STAT_VER, fd, &st) >= 0)
|
if (__fxstat64 (_STAT_VER, fd, &st) >= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user