Re: [PATCH] posix_types.h: make __NFDBITS match glibc definition

From: Linus Torvalds
Date: Tue Jul 24 2012 - 14:20:28 EST


On Tue, Jul 24, 2012 at 11:12 AM, Josh Boyer <jwboyer@xxxxxxxxxx> wrote:
>
> +#define __NFDBITS (8 * (int) sizeof(long int))

I don't know if the type change is needed, but who the hell uses "long int"?

Somebody is confused. Grepping the kernel sources, I am saddened to
see any of these at all. I certainly would never want to add one.

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