aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-10 09:41:16 +0000
committerRoland McGrath <roland@gnu.org>1996-06-10 09:41:16 +0000
commit564210fe2fdf88dd0800590b256cdb0751da1dec (patch)
tree403cf41f67bdc836d9efc65b6618a8951d815b7d /sysdeps/generic
parent* elf/dl-load.c (_dl_map_object_from_fd): Close FD before return. (diff)
downloadglibc-564210fe2fdf88dd0800590b256cdb0751da1dec.tar.gz
glibc-564210fe2fdf88dd0800590b256cdb0751da1dec.tar.bz2
glibc-564210fe2fdf88dd0800590b256cdb0751da1dec.zip
Mon Jun 10 02:22:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/configure.in: New file, start with configure. Add check for installed <linux/version.h> being v2.0 or later. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open instead of open. (_dl_sysdep_fatal): Call __write instead of write. (_dl_sysdep_message): Likewise. Sun Jun 9 20:40:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/e_acosl.c: New file. * Makerules (o-objects): New variable. Use it in place of $(objects:.o=$o); it filters out $(elide-routines$o). Use o-iterator for ar and ranlib rules so they use the per-type object list. * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/dl-sysdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 4d5faad69f..41d9cc98f9 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -109,7 +109,7 @@ _dl_sysdep_start_cleanup (void)
int
_dl_sysdep_open_zero_fill (void)
{
- return open ("/dev/zero", O_RDONLY);
+ return __open ("/dev/zero", O_RDONLY);
}
#include <stdarg.h>
@@ -123,7 +123,7 @@ _dl_sysdep_fatal (const char *msg, ...)
do
{
size_t len = strlen (msg);
- write (STDERR_FILENO, msg, len);
+ __write (STDERR_FILENO, msg, len);
msg = va_arg (ap, const char *);
} while (msg);
va_end (ap);
@@ -141,7 +141,7 @@ _dl_sysdep_message (const char *msg, ...)
do
{
size_t len = strlen (msg);
- write (STDOUT_FILENO, msg, len);
+ __write (STDOUT_FILENO, msg, len);
msg = va_arg (ap, const char *);
} while (msg);
va_end (ap);