[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Sat Oct 8 12:17:11 MDT 2011


The branch, v3-5-test has been updated
       via  20ee081 Bug 7551: Return error of cli_push when 'put - /some/file' is used
       via  ff5b58d Bug 7551: Return error of cli_push when 'put - /some/file' is used.
      from  2bdf504 Fix bug #8507 - smbd doesn't correctly honor the "force create mode" bits from a cifsfs create.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit 20ee0810ff4da3a16a8b7947d4aa0138a8d76577
Author: Bram <fnzon at lists.wizbit.be>
Date:   Thu Sep 29 11:28:03 2011 +0200

    Bug 7551: Return error of cli_push when 'put - /some/file' is used
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Thu Sep 29 23:47:02 CEST 2011 on sn-devel-104
    (cherry picked from commit d883cc664cac81633a60e5b04f99f23a3577ae65)

commit ff5b58d3038bed5a20511bc76405d8ebdae75a87
Author: Jeremy Allison <jra at samba.org>
Date:   Sat Oct 8 20:18:34 2011 +0200

    Bug 7551: Return error of cli_push when 'put - /some/file' is used.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/client/client.c b/source3/client/client.c
index e1952b5..e35eb9b 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1668,6 +1668,7 @@ static int do_put(const char *rname, const char *lname, bool reput)
 			  &state);
 	if (!NT_STATUS_IS_OK(status)) {
 		d_fprintf(stderr, "cli_push returned %s\n", nt_errstr(status));
+		rc = 1;
 	}
 
 	if (!NT_STATUS_IS_OK(cli_close(targetcli, fnum))) {
@@ -1700,7 +1701,7 @@ static int do_put(const char *rname, const char *lname, bool reput)
 
 	if (f == x_stdin) {
 		cli_shutdown(cli);
-		exit(0);
+		exit(rc);
 	}
 
 	return rc;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list