Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2006 22:12:47 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys select.h
Message-ID:  <200601062212.k06MClac053454@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601062212.k06MClac053454>