[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-767-gabec7cf

Tim Prouty tprouty at samba.org
Wed Feb 11 06:35:12 GMT 2009


The branch, master has been updated
       via  abec7cfa165580f2a46f71bdd43c5a76d692257c (commit)
      from  7eb097a66df2491bf975471a095fb4356216d974 (commit)

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


- Log -----------------------------------------------------------------
commit abec7cfa165580f2a46f71bdd43c5a76d692257c
Author: Tim Prouty <tprouty at samba.org>
Date:   Tue Feb 10 22:16:26 2009 -0800

    s3: Remove some unused vars

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

Summary of changes:
 source3/torture/cmd_vfs.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c
index f273ced..17769b1 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -141,8 +141,6 @@ static NTSTATUS cmd_opendir(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc
 
 static NTSTATUS cmd_readdir(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, const char **argv)
 {
-	const char *user;
-	const char *group;
 	SMB_STRUCT_STAT st;
 	SMB_STRUCT_DIRENT *dent = NULL;
 
@@ -178,9 +176,9 @@ static NTSTATUS cmd_readdir(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc
 		printf(" Inode: %10u", (unsigned int)st.st_ino);
 		printf(" Links: %10u\n", (unsigned int)st.st_nlink);
 		printf("  Access: %05o", (st.st_mode) & 007777);
-		printf(" Uid: %5lu/%.16s Gid: %5lu/%.16s\n",
-		       (unsigned long)st.st_uid, user,
-		       (unsigned long)st.st_gid, group);
+		printf(" Uid: %5lu Gid: %5lu\n",
+		       (unsigned long)st.st_uid,
+		       (unsigned long)st.st_gid);
 		printf("  Access: %s", ctime(&(st.st_atime)));
 		printf("  Modify: %s", ctime(&(st.st_mtime)));
 		printf("  Change: %s", ctime(&(st.st_ctime)));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list