From: Ulrich Drepper Date: Mon, 24 Jan 2000 01:40:41 +0000 (+0000) Subject: Change back old RLIM_INFINITY value. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a2bba7960091d0c578d18a90baad5add3bfb5d1;p=thirdparty%2Fglibc.git Change back old RLIM_INFINITY value. --- 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. */