From 07435eb48c6acb0313a8957257af4771e9e55030 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 17 Jul 1998 12:36:43 +0000 Subject: Update. 1998-07-17 Ulrich Drepper * debug/catchsegv.sh: Fix several stupid bugs. * shlib-versions: Define version for libSegFault. * debug/Makefile: Replace shared lib version number while rewriting. 1998-07-17 Mark Kettenis * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check. Suggested by Roland McGrath. 1998-07-15 Andreas Jaeger * timezone/Makefile: Remove '-L (leapseconds)' for testdata generation to control environment. 1998-07-17 09:21 Ulrich Drepper * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD. Patch by John Tobey . * manual/llio.texi: Document readv/writev and mmap functions. Patch by Michael Deutschmann . 1998-07-16 Andreas Schwab * manual/Makefile (texis): Depend on texis.awk. (nonexamples): Filter out add-on chapters. (chapters.% top-menu.%): Depend on libc-texinfo.sh. (stamp-summary): Depend on $(texis) except summary.texi. ($(inst_infodir)/libc.info): Simplify command. * manual/libc-texinfo.sh: Cleaned up to use less temporary files. Fix the generation of the detailed node listing to make it complete again. * manual/math.texi: Fix signature of lgamma_r. --- sysdeps/generic/abort.c | 2 +- sysdeps/mach/hurd/dl-sysdep.c | 3 ++- sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/abort.c b/sysdeps/generic/abort.c index e8157dd2e6..817260bd53 100644 --- a/sysdeps/generic/abort.c +++ b/sysdeps/generic/abort.c @@ -32,7 +32,7 @@ #endif #ifdef USE_IN_LIBIO -# include +# include # define fflush(s) _IO_fflush (s) #endif diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index ba8a12b195..44049cef57 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -54,7 +54,7 @@ int __libc_multiple_libcs; /* Defining this here avoids the inclusion /* This variable containts the lowest stack address ever used. */ void *__libc_stack_end; unsigned long int _dl_hwcap_mask = HWCAP_IMPORTANT; - + struct hurd_startup_data *_dl_hurd_data; @@ -518,6 +518,7 @@ __mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset) memobj_rd = MACH_PORT_NULL; else { + assert (!(flags & MAP_SHARED)); err = __io_map ((mach_port_t) fd, &memobj_rd, &memobj_wr); if (err) return (__ptr_t) __hurd_fail (err); diff --git a/sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h b/sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h index 4e5576425b..33a040b529 100644 --- a/sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h +++ b/sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h @@ -1,5 +1,5 @@ /* Signal number definitions. Solaris 2 version. - Copyright (C) 1994, 1996 Free Software Foundation, Inc. + Copyright (C) 1994, 1996, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,6 +23,9 @@ #define SIG_ERR ((__sighandler_t) -1) /* Error return. */ #define SIG_DFL ((__sighandler_t) 0) /* Default action. */ #define SIG_IGN ((__sighandler_t) 1) /* Ignore signal. */ +#ifdef __USE_UNIX98 +# define SIG_HOLD ((__sighandler_t) 2) /* Add signal to hold mask. */ +#endif /* Signals. */ -- cgit 1.4.1