diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-03-12 21:56:07 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-03-12 21:56:07 +0000 |
commit | 9929ffb6707e03927b36f0db8371793c1cf5ab72 (patch) | |
tree | 0810199f54cebd60d51f7495de1dad9f751983b4 /devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c | |
parent | Fixed the description for the /var/run/orion.pid file. (diff) |
Update to 0.5.14.
Notes
Notes:
svn path=/head/; revision=55950
Diffstat (limited to 'devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c')
-rw-r--r-- | devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c b/devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c index d6184df8952a..0ffa6f6b514e 100644 --- a/devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c +++ b/devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c @@ -1,34 +1,15 @@ $FreeBSD$ ---- src/IIOP/giop-msg-buffer.c.orig Wed Oct 3 09:51:21 2001 -+++ src/IIOP/giop-msg-buffer.c Sat Oct 27 15:52:11 2001 -@@ -34,10 +34,6 @@ +--- src/IIOP/giop-msg-buffer.c.orig Mon Mar 11 14:40:02 2002 ++++ src/IIOP/giop-msg-buffer.c Tue Mar 12 16:43:03 2002 +@@ -34,7 +34,8 @@ #include "IIOP.h" #include "IIOP-private.h" --#ifdef HAVE_LIMITED_WRITEV --#define writev g_writev --#endif -- - /* type defs */ +-#define MAX_LIMITED_IOVECS 16 ++#define MAX_LIMITED_IOVECS MAXIOV ++#define HAVE_LIMITED_WRITEV #ifdef __GNUC__ -@@ -197,7 +193,7 @@ - sum); - } - #endif -- res = writev(fd, curvec, nvecs); -+ res = g_writev(fd, curvec, nvecs); - - sum = (GIOP_MESSAGE_BUFFER(send_buffer)->message_header.message_size + sizeof(GIOPMessageHeader)); - if(res < sum) { -@@ -227,7 +223,7 @@ - - fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); - -- t = writev(fd, curvec, nvecs); -+ t = g_writev(fd, curvec, nvecs); - - fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) | O_NONBLOCK); - + #define PACKED __attribute__((packed)) |