K 10 svn:author V 5 peter K 8 svn:date V 27 2000-02-20T13:36:26.000000Z K 7 svn:log V 567 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 Reviewed by: dfr, gallatin (sys/types.h only) Approved by: jkh END