summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-01-06 22:12:46 +0000
committermarcel <marcel@FreeBSD.org>2006-01-06 22:12:46 +0000
commit691f012913351f4b70e5cada5223ee00906b4baa (patch)
tree3b56c123c505d246c296fca4bb6da880d61b4c18 /sys/kern/kern_mutex.c
parent33031923ec16ec9aa454446377691c53a956c474 (diff)
downloadFreeBSD-src-691f012913351f4b70e5cada5223ee00906b4baa.zip
FreeBSD-src-691f012913351f4b70e5cada5223ee00906b4baa.tar.gz
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
Diffstat (limited to 'sys/kern/kern_mutex.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud