* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,

RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
This commit is contained in:
David S. Miller 2011-08-14 04:07:50 -07:00
parent 73d7af4f4c
commit 9c96ff2385
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-08-14 David S. Miller <davem@davemloft.net>
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2011-08-13 Ulrich Drepper <drepper@gmail.com>
* elf/dl-open.c: Rename show_scope to _dl_schow_scope and export.

View File

@ -130,11 +130,11 @@ enum __rlimit_resource
#ifndef __USE_FILE_OFFSET64
# define RLIM_INFINITY ((long int)(~0UL >> 1))
#else
# define RLIM_INFINITY 0x7fffffffffffffffLL
# define RLIM_INFINITY 0xffffffffffffffffLL
#endif
#ifdef __USE_LARGEFILE64
# define RLIM64_INFINITY 0x7fffffffffffffffLL
# define RLIM64_INFINITY 0xffffffffffffffffLL
#endif
#endif