From 6f2a8167292f11227d4540f90e933bc29265921c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 2 Jan 2000 18:30:13 +0000 Subject: 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 . --- sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c b/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c index a51c1e0..c9e7653 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 , 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 -- cgit v1.1