mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-19 07:00:08 +00:00
Change back old RLIM_INFINITY value.
This commit is contained in:
parent
7c058212fe
commit
0a2bba7960
@ -84,13 +84,13 @@ enum __rlimit_resource
|
|||||||
|
|
||||||
/* Value to indicate that there is no limit. */
|
/* Value to indicate that there is no limit. */
|
||||||
#ifndef __USE_FILE_OFFSET64
|
#ifndef __USE_FILE_OFFSET64
|
||||||
# define RLIM_INFINITY ((unsigned long int) (~0UL))
|
# define RLIM_INFINITY ((long int) (~0UL >> 1))
|
||||||
#else
|
#else
|
||||||
# define RLIM_INFINITY 0xffffffffffffffffuLL
|
# define RLIM_INFINITY 0x7fffffffffffffffLL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
# define RLIM64_INFINITY 0xffffffffffffffffuLL
|
# define RLIM64_INFINITY 0x7fffffffffffffffLL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* We can represent all limits. */
|
/* We can represent all limits. */
|
||||||
|
Loading…
Reference in New Issue
Block a user