[SCM] Samba Shared Repository - branch master updated

Christian Ambach ambi at samba.org
Mon Jun 3 12:02:02 MDT 2013


The branch, master has been updated
       via  b238008 s3:lib/ctdb_packet use sys_send in packet_fd_write
      from  8a6743e Bug 8997: change libreplace GPL source to LGPL

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


- Log -----------------------------------------------------------------
commit b2380081e23c68d515bd0c257d56ba4a593f991b
Author: Christian Ambach <ambi at samba.org>
Date:   Mon Jun 3 16:18:03 2013 +0200

    s3:lib/ctdb_packet use sys_send in packet_fd_write
    
    use the signal safe variant here to prevent spurious errors when running
    with CTDB and a signal comes in
    
    Signed-off-by: Christian Ambach <ambi at samba.org>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    
    Autobuild-User(master): Christian Ambach <ambi at samba.org>
    Autobuild-Date(master): Mon Jun  3 20:01:22 CEST 2013 on sn-devel-104

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

Summary of changes:
 source3/lib/ctdb_packet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/ctdb_packet.c b/source3/lib/ctdb_packet.c
index 49ade4e..5ea1c25 100644
--- a/source3/lib/ctdb_packet.c
+++ b/source3/lib/ctdb_packet.c
@@ -182,7 +182,7 @@ NTSTATUS ctdb_packet_fd_write(struct ctdb_packet_context *ctx)
 {
 	ssize_t sent;
 
-	sent = send(ctx->fd, ctx->out.data, ctx->out.length, 0);
+	sent = sys_send(ctx->fd, ctx->out.data, ctx->out.length, 0);
 
 	if (sent == -1) {
 		DEBUG(0, ("send failed: %s\n", strerror(errno)));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list