From 0a61487785ff1f13ce3bb683cd59e520bbb0086f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 17 Feb 1998 15:15:51 +0000 Subject: Update. 1998-02-17 15:10 Ulrich Drepper * elf/dl-load.c (open_path): Use __xstat instead of stat. * localedata/tst-locale.sh: Comment out first test for now. 1998-02-14 14:58 H.J. Lu * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined as 1. * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise. * libio/iogetline.c (_IO_getline_info): Renamed from _IO_getline. (_IO_getline): Just call _IO_getline_info. * libio/libioP.h (_IO_getline_info): New declaration. * libc.map (_IO_getline_info, __write): Added. 1998-02-17 Andreas Jaeger * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to const char* to shut up gcc. 1998-02-17 11:37 Ulrich Drepper * eld/dl-open.c (_dl_open): Assign correct value to new->l_global. Patch forwarded by Cristian Gafton . * math/math.h: Define M_* constants always as `double' and add new macros M_*l which are of type `long double'. * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now. * sysdeps/libm-ieee754/s_cacosl.c: Likewise. * sysdeps/libm-ieee754/s_casinhl.c: Likewise. * sysdeps/libm-ieee754/s_catanhl.c: Likewise. * sysdeps/libm-ieee754/s_catanl.c: Likewise. * sysdeps/libm-ieee754/s_clog10l.c: Likewise. * sysdeps/libm-ieee754/s_clogl.c: Likewise. * math/libm-tst.c: Likewise. * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl, define as long double unconditionally. 1998-02-17 Andreas Jaeger * manual/arith.texi (Old-style number conversion): Correct some typos. 1998-02-16 16:28 H.J. Lu * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c): Restore. * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted. --- elf/dl-load.c | 6 ++++-- elf/dl-open.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'elf') diff --git a/elf/dl-load.c b/elf/dl-load.c index 73cafcc..96c1eb6 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -832,7 +832,8 @@ open_path (const char *name, size_t namelen, buf[this_dir->machdirnamelen - 1] = '\0'; - if (stat (buf, &st) != 0 || ! S_ISDIR (st.st_mode)) + if (__xstat (_STAT_VER, buf, &st) != 0 + || ! S_ISDIR (st.st_mode)) /* The directory does not exist ot it is no directory. */ this_dir->machdirstatus = nonexisting; else @@ -863,7 +864,8 @@ open_path (const char *name, size_t namelen, buf[this_dir->dirnamelen - 1] = '\0'; - if (stat (buf, &st) != 0 || ! S_ISDIR (st.st_mode)) + if (__xstat (_STAT_VER, buf, &st) != 0 + || ! S_ISDIR (st.st_mode)) /* The directory does not exist ot it is no directory. */ this_dir->dirstatus = nonexisting; else diff --git a/elf/dl-open.c b/elf/dl-open.c index b984aa8..d095f5e 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -110,7 +110,7 @@ _dl_open (const char *file, int mode) l = l->l_prev; } - new->l_global = (mode & RTLD_GLOBAL); + new->l_global = (mode & RTLD_GLOBAL) ? 1 : 0; if (new->l_global) { /* The symbols of the new object and its dependencies are to be -- cgit v1.1