The branch, master has been updated
       via  c0965e0eec78a9900fabd0a55c7e8d8bfc64f4a4 (commit)
      from  f7ba8ba5c3dee9f422c6a3c8470197b12ae5b213 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c0965e0eec78a9900fabd0a55c7e8d8bfc64f4a4
Author: Andrew Tridgell <[email protected]>
Date:   Tue Jun 9 14:54:15 2009 +1000

    It seems that IRIX doesn't have IOV_MAX

-----------------------------------------------------------------------

Summary of changes:
 lib/tsocket/tsocket.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tsocket/tsocket.c b/lib/tsocket/tsocket.c
index e618fb7..e05c8d5 100644
--- a/lib/tsocket/tsocket.c
+++ b/lib/tsocket/tsocket.c
@@ -539,10 +539,12 @@ struct tevent_req *tstream_readv_send(TALLOC_CTX *mem_ctx,
        state->ret = -1;
 
        /* first check if the input is ok */
+#ifdef IOV_MAX
        if (count > IOV_MAX) {
                tevent_req_error(req, EMSGSIZE);
                goto post;
        }
+#endif
 
        for (i=0; i < count; i++) {
                int tmp = to_read;
@@ -658,10 +660,12 @@ struct tevent_req *tstream_writev_send(TALLOC_CTX 
*mem_ctx,
        state->ret = -1;
 
        /* first check if the input is ok */
+#ifdef IOV_MAX
        if (count > IOV_MAX) {
                tevent_req_error(req, EMSGSIZE);
                goto post;
        }
+#endif
 
        for (i=0; i < count; i++) {
                int tmp = to_write;


-- 
Samba Shared Repository

Reply via email to