From 0a2bba7960091d0c578d18a90baad5add3bfb5d1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 24 Jan 2000 01:40:41 +0000 Subject: [PATCH] Change back old RLIM_INFINITY value. --- sysdeps/unix/sysv/linux/i386/bits/resource.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/i386/bits/resource.h b/sysdeps/unix/sysv/linux/i386/bits/resource.h index a1d3c2791df..b8a492373b6 100644 --- a/sysdeps/unix/sysv/linux/i386/bits/resource.h +++ b/sysdeps/unix/sysv/linux/i386/bits/resource.h @@ -84,13 +84,13 @@ enum __rlimit_resource /* Value to indicate that there is no limit. */ #ifndef __USE_FILE_OFFSET64 -# define RLIM_INFINITY ((unsigned long int) (~0UL)) +# define RLIM_INFINITY ((long int) (~0UL >> 1)) #else -# define RLIM_INFINITY 0xffffffffffffffffuLL +# define RLIM_INFINITY 0x7fffffffffffffffLL #endif #ifdef __USE_LARGEFILE64 -# define RLIM64_INFINITY 0xffffffffffffffffuLL +# define RLIM64_INFINITY 0x7fffffffffffffffLL #endif /* We can represent all limits. */ -- 2.47.2