Re: Unable to build bash

From: Robert Schiele (rschiele@uni-mannheim.de)
Date: Fri Jan 07 2000 - 03:54:04 EST


Am Fre, 07 Jan 2000 schrieb Horst von Brand:
> Robert Schiele <rschiele@uni-mannheim.de> said:
>
> [...]
>
> > I would recommend the following patch:
> > --- /usr/include/bits/resource.h.orig Sat Nov 6 17:23:45 1999
> > +++ /usr/include/bits/resource.h Thu Jan 6 22:26:32 2000
> > @@ -105,10 +105,12 @@
> > };
> >
> > /* Value to indicate that there is no limit. */
> > -#ifndef __USE_FILE_OFFSET64
> > -# define RLIM_INFINITY ((long int)(~0UL >> 1))
> > -#else
> > -# define RLIM_INFINITY 0x7fffffffffffffffLL
> > +#ifndef RLIM_INFINITY
> > +# ifndef __USE_FILE_OFFSET64
> > +# define RLIM_INFINITY ((long int)(~0UL >> 1))
> > +# else
> > +# define RLIM_INFINITY 0x7fffffffffffffffLL
>
> Why not "(long long int) (~0ULL >> 1)" for symmetry?

I did not think about that.
I have just added the lines '#ifndef RLIM_INFINITY' and '#endif' to prevent
redefinition, and I adapted the indentation. I did not see any motivation
changeing something else. But you may do, if you like.

Robert

-- 
"The system required Windows 95 or better, so I installed Linux"

Robert Schiele mailto:rschiele@uni-mannheim.de Tel./Fax: +49-621-10059 http://webrum.uni-mannheim.de/math/rschiele/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:08 EST