Commit graph

3 commits

Author SHA1 Message Date
Maxim Sobolev
441ede378e Huh, finally implement writev(2) wrapper that actually works. Boys, never ever
try to use writev(2) in a non-blocking mode, especially on sockets. Not only
this makes handling of EAGAIN rather weird, but in the case of sockets makes
your code subject of a ENOBUFS, which is absolutely unclear how to handle
properly. *sigh*

Bump PORTREVISION.
2001-10-29 17:05:04 +00:00
Maxim Sobolev
ad96ba7708 Undo the last commit. For not clear yet reasons it drives oaf crazy. 2001-10-29 09:57:42 +00:00
Maxim Sobolev
128ab3ea69 Reimplement fix for an imcompatibility between ORBit and FreeBSD properly.
Instead of replacing writev(2) with loop based on write(2), test system
limit on the number of vectors writev(2) accepts and split call to writev(2)
to several calls in such a way that number of vectors in each call doesn't
exceed this limit (aka UIO_MAXIOV). Bump PORTREVISION.
2001-10-29 08:19:24 +00:00