]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Change back old RLIM_INFINITY value.
authorUlrich Drepper <drepper@redhat.com>
Mon, 24 Jan 2000 01:40:41 +0000 (01:40 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 24 Jan 2000 01:40:41 +0000 (01:40 +0000)
sysdeps/unix/sysv/linux/i386/bits/resource.h

index a1d3c2791df48428d2e5b15961c6dc74438179b4..b8a492373b61bae00cd39db17032fe00e66cb001 100644 (file)
@@ -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.  */