Peter Wemm f082218c18 Fix select(2) for the Alpha. (!!) It was never returning true for
fd's in the range of 32-63, 96-127 etc.  The first problem was the
FD_*() macros were shifting a 32 bit integer "1" left by more than
32 bits.  The same problem happened in selscan().  ffs() also takes
an int argument and causes failure.  For cases where int == long
(ie: the usual case for x86, but not always as gcc can have long
being a 64 bit quantity) ffs() could be used.

Reported by:	Marian Stagarescu <marian@bile.skycache.com>
Reviewed by:	dfr, gallatin (sys/types.h only)
Approved by:	jkh
2000-02-20 13:36:26 +00:00
..
2000-01-27 14:43:07 +00:00
2000-01-29 18:42:45 +00:00
1999-12-14 20:54:38 +00:00
2000-02-15 17:29:09 +00:00
2000-02-16 04:04:36 +00:00
2000-01-15 05:15:06 +00:00
2000-02-17 15:09:12 +00:00
1999-08-27 23:45:13 +00:00
1999-11-14 13:54:44 +00:00