The Samba-Bugzilla – Attachment 5247 Details for
Bug 7076
vfs_scannedonly does not compile on AIX which does not have MSG_DONTWAIT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
MSG_DONTWAIT is not needed, the socket is non-blocking anyway.
0002-AIX-doesn-t-have-MSG_DONTWAIT.patch (text/plain), 812 bytes, created by
Olivier Sessink
on 2010-01-29 05:10:41 UTC
(
hide
)
Description:
MSG_DONTWAIT is not needed, the socket is non-blocking anyway.
Filename:
MIME Type:
Creator:
Olivier Sessink
Created:
2010-01-29 05:10:41 UTC
Size:
812 bytes
patch
obsolete
>From e62cff7c36fe85e226435b7e81864b7cb8486af8 Mon Sep 17 00:00:00 2001 >From: olivier <olivier@virtscano.fakenet> >Date: Fri, 29 Jan 2010 12:04:35 +0100 >Subject: [PATCH] AIX doesn't have MSG_DONTWAIT > >--- > source3/modules/vfs_scannedonly.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c >index 9f484ef..d206c97 100644 >--- a/source3/modules/vfs_scannedonly.c >+++ b/source3/modules/vfs_scannedonly.c >@@ -246,7 +246,7 @@ static void flush_sendbuffer(vfs_handle_struct * handle) > do { > loop--; > len = strlen(so->gsendbuffer); >- ret = send(so->socket, so->gsendbuffer, len, MSG_DONTWAIT); >+ ret = send(so->socket, so->gsendbuffer, len, 0); > if (ret == len) { > so->gsendbuffer[0] = '\0'; > break; >-- >1.5.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7076
: 5247