about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-02 18:30:13 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-02 18:30:13 +0000
commit6f2a8167292f11227d4540f90e933bc29265921c (patch)
treec56f1e844545f5451945a9bc4b7d4f576910768d /sysdeps/unix
parent793bd4d9ebc5198ac292437227bec133fc6f4dfc (diff)
downloadglibc-6f2a8167292f11227d4540f90e933bc29265921c.tar.gz
glibc-6f2a8167292f11227d4540f90e933bc29265921c.tar.xz
glibc-6f2a8167292f11227d4540f90e933bc29265921c.zip
Update.
	* signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.

	* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
	typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
	Reported by Philip Blundell <Philip.Blundell@pobox.com>.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c b/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c
index a51c1e0098..c9e7653c89 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 1999.
 
@@ -44,19 +44,19 @@ __mmap64 (__ptr_t addr, size_t len, int prot, int flags, int fd, off64_t offset)
 #endif
       ! (offset & 4095))
     {
-#ifndef __ASSUME_TRUNCATE64_SYSCALL
+#ifndef __ASSUME_MMAP2_SYSCALL
       int saved_errno = errno;
 #endif
       /* This will be always 12, no matter what page size is.  */
       int result = INLINE_SYSCALL (mmap2, 6, addr, len, prot, flags,
 				   fd, (off_t) (offset >> 12));
 
-#ifndef __ASSUME_TRUNCATE64_SYSCALL
+#ifndef __ASSUME_MMAP2_SYSCALL
       if (result != -1 || errno != ENOSYS)
 #endif
 	return result;
 
-#ifndef __ASSUME_TRUNCATE64_SYSCALL
+#ifndef __ASSUME_MMAP2_SYSCALL
       __set_errno (saved_errno);
       have_no_mmap2 = 1;
 #endif