Re: Unable to build bash

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Thu Jan 06 2000 - 21:15:36 EST


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?
> +# endif
> #endif
>
> #ifdef __USE_LARGEFILE64

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- 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