The branch, master has been updated
       via  3aebe9e smbd: Fix a comment
       via  fb7e367 debug: Fix a few signed/unsigned hickups
      from  22c9229 strv.c: add strv_to_env for use with execle, etc.

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


- Log -----------------------------------------------------------------
commit 3aebe9efa741a3298f78ffebcb8801680f63e725
Author: Volker Lendecke <[email protected]>
Date:   Thu Oct 13 16:07:22 2016 +0200

    smbd: Fix a comment
    
    This is described in
    
    https://msdn.microsoft.com/en-us/library/cc232053.aspx
    
    which is section 2.3.67 in the FSCC version available 2016-10-13.
    
    Signed-off-by: Volker Lendecke <[email protected]>
    Reviewed-by: Jeremy Allison <[email protected]>
    
    Autobuild-User(master): Jeremy Allison <[email protected]>
    Autobuild-Date(master): Fri Oct 14 05:31:07 CEST 2016 on sn-devel-144

commit fb7e36728e4e1055c5aee34f99c1dcbc1c0a9449
Author: Volker Lendecke <[email protected]>
Date:   Thu Oct 13 11:18:50 2016 +0200

    debug: Fix a few signed/unsigned hickups
    
    Signed-off-by: Volker Lendecke <[email protected]>
    Reviewed-by: Jeremy Allison <[email protected]>

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

Summary of changes:
 lib/util/debug.c                  | 7 ++++---
 source3/smbd/smb2_ioctl_filesys.c | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/debug.c b/lib/util/debug.c
index ed89944..625d23a 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -280,7 +280,7 @@ static struct debug_backend {
 
 static struct debug_backend *debug_find_backend(const char *name)
 {
-       int i;
+       unsigned i;
 
        for (i = 0; i < ARRAY_SIZE(debug_backends); i++) {
                if (strcmp(name, debug_backends[i].name) == 0) {
@@ -348,7 +348,7 @@ static void debug_set_backends(const char *param)
        size_t str_len = strlen(param);
        char str[str_len+1];
        char *tok, *saveptr;
-       int i;
+       unsigned i;
 
        /*
         * initialize new_log_level to detect backends that have been
@@ -389,7 +389,8 @@ static void debug_set_backends(const char *param)
 static void debug_backends_log(const char *msg, int msg_level)
 {
        char msg_no_nl[FORMAT_BUFR_SIZE];
-       int i, len;
+       unsigned i;
+       int len;
 
        /*
         * Some backends already add an extra newline, so also provide
diff --git a/source3/smbd/smb2_ioctl_filesys.c 
b/source3/smbd/smb2_ioctl_filesys.c
index 55ce3f2..f2a0554 100644
--- a/source3/smbd/smb2_ioctl_filesys.c
+++ b/source3/smbd/smb2_ioctl_filesys.c
@@ -187,7 +187,7 @@ static NTSTATUS fsctl_zero_data(TALLOC_CTX *mem_ctx,
        }
 
        /*
-        * MS-FSCC <58> Section 2.3.65
+        * MS-FSCC <58> Section 2.3.67
         * This FSCTL sets the range of bytes to zero (0) without extending the
         * file size.
         *


-- 
Samba Shared Repository

Reply via email to