From 9cee42f10dbc5b33866ff137b926a74abd7c1a5b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 1 Mar 2002 20:46:26 +0000 Subject: Major rework of the include files to eliminate redundancy and to better support each arch. This is a really big patch... -Erik --- libc/sysdeps/linux/m68k/bits/resource.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'libc/sysdeps/linux/m68k/bits/resource.h') diff --git a/libc/sysdeps/linux/m68k/bits/resource.h b/libc/sysdeps/linux/m68k/bits/resource.h index 30825c2e0..e6fa04abc 100644 --- a/libc/sysdeps/linux/m68k/bits/resource.h +++ b/libc/sysdeps/linux/m68k/bits/resource.h @@ -1,5 +1,5 @@ -/* Bit values & structures for resource limits. Linux version. - Copyright (C) 1994,1996,1997,1998,1999,2000 Free Software Foundation, Inc. +/* Bit values & structures for resource limits. Linux/m68k version. + Copyright (C) 1994,1996,1997,1998,1999,2000,2001 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 @@ -64,7 +64,7 @@ enum __rlimit_resource #define RLIMIT_NOFILE RLIMIT_NOFILE #define RLIMIT_OFILE RLIMIT_OFILE - /* Address space limit (?) */ + /* Address space limit. */ RLIMIT_AS = 9, #define RLIMIT_AS RLIMIT_AS @@ -80,20 +80,21 @@ enum __rlimit_resource RLIMIT_LOCKS = 10, #define RLIMIT_LOCKS RLIMIT_LOCKS - RLIM_NLIMITS = 11 + RLIMIT_NLIMITS = 11, + RLIM_NLIMITS = RLIMIT_NLIMITS #define RLIMIT_NLIMITS RLIMIT_NLIMITS #define RLIM_NLIMITS RLIM_NLIMITS }; /* Value to indicate that there is no limit. */ #ifndef __USE_FILE_OFFSET64 -# define RLIM_INFINITY ((long int)(~0UL >> 1)) +# define RLIM_INFINITY ((unsigned long int)(~0UL)) #else -# define RLIM_INFINITY 0x7fffffffffffffffLL +# define RLIM_INFINITY 0xffffffffffffffffuLL #endif #ifdef __USE_LARGEFILE64 -# define RLIM64_INFINITY 0x7fffffffffffffffLL +# define RLIM64_INFINITY 0xffffffffffffffffuLL #endif /* We can represent all limits. */ -- cgit v1.2.3