summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-03-22 11:26:04 +0000
committeragc <agc@pkgsrc.org>2002-03-22 11:26:04 +0000
commit951e53f46ef518e2ac18c554bcb601706cf9c9cc (patch)
treedb2c3170a98a57fae98ea234380b7fe1fc649021 /graphics
parenta4edfe20e80d780ced2ee15c878ab8eb097d05ef (diff)
downloadpkgsrc-951e53f46ef518e2ac18c554bcb601706cf9c9cc.tar.gz
The ORBit code doesn't check the number of iovec structs before it
calls writev(2). Some of the applications which use ORBit, such as oaf, can send 1214 iovecs, which is slightly more than IOV_MAX. Add a wrapper for writev(2), to check the number of iovecs passed to writev, and loop, sending MIN(IOV_MAX, count) until the iovecs have all been written.
Diffstat (limited to 'graphics')
0 files changed, 0 insertions, 0 deletions