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

Aurelien Jarno aurelien@aurel32.net
Wed Nov 27 17:03:00 GMT 2013


On Tue, Nov 26, 2013 at 04:32:12PM +0000, Joseph S. Myers wrote:
> 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.

Indeed that's a mistake. I'll also change it in the next version.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



More information about the Libc-alpha mailing list