marcel      2006-01-06 22:12:47 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              select.h 
  Log:
  Fix FD_ISSET() on LP64 platforms. The FD_ISSET() function/macro is
  defined to return an int, but on LP64 platforms the return value of
  FD_ISSET() for file descriptors with a bit-index larger than 31 would
  not fit an int (due to __fd_mask being defined as an unsigned long).
  The fix is to explicitly test against 0.
  
  PR: ia64/91421
  Submitted by: Tanaka Akira (akr at m17n dot org)
  MFC after: 1 week
  
  Revision  Changes    Path
  1.20      +1 -1      src/sys/sys/select.h
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to