[PATCH 2/2] MIPS: Fix RLIM64_INFINITY constant for O32 and N32 ABIs

Joseph S. Myers joseph@codesourcery.com
Wed Nov 27 01:15:00 GMT 2013


On Sat, 23 Nov 2013, Aurelien Jarno wrote:

> @@ -125,7 +125,7 @@ enum __rlimit_resource
>  #  define RLIM_INFINITY 0x7fffffffffffffffULL
>  # endif
>  # ifdef __USE_LARGEFILE64
> -#  define RLIM64_INFINITY 0x7fffffffffffffffULL
> +#  define RLIM64_INFINITY 0xffffffffffffffffULL

Why aren't you changing the RLIM_INFINITY value for _FILE_OFFSET_BITS=64?  
I'd expect it to need to match.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list