]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Change RLIM_INFINITY back to old value (signed long).
authorUlrich Drepper <drepper@redhat.com>
Sat, 18 Dec 1999 23:06:07 +0000 (23:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 18 Dec 1999 23:06:07 +0000 (23:06 +0000)
sysdeps/unix/sysv/linux/bits/resource.h

index fcff60589240ab3641c99f9a59c050753697e1cc..6a3d86ce1838ee46487553501175151efb350991 100644 (file)
@@ -106,13 +106,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.  */