[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-1597-g5b05e09

Volker Lendecke vl at samba.org
Mon Jan 21 17:05:07 GMT 2008


The branch, v3-2-test has been updated
       via  5b05e09daf18eaea5e86dfd607c8070228f7571b (commit)
      from  24f68b90cca111256a7b03f7062cb57c2b08a0d6 (commit)

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


- Log -----------------------------------------------------------------
commit 5b05e09daf18eaea5e86dfd607c8070228f7571b
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Jan 21 18:07:38 2008 +0100

    Attempt to fix the darwin build

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

Summary of changes:
 source/modules/vfs_default.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/modules/vfs_default.c b/source/modules/vfs_default.c
index 17d0dfa..9c5b644 100644
--- a/source/modules/vfs_default.c
+++ b/source/modules/vfs_default.c
@@ -93,10 +93,10 @@ static int vfswrap_statvfs(struct vfs_handle_struct *handle,  const char *path,
 static uint32_t vfswrap_fs_capabilities(struct vfs_handle_struct *handle)
 {
 #if defined(DARWINOS)
-	struct statfs sbuf;
-	ZERO_STRUCT(sbuf);
-	sys_statvfs(handle->conn->connectpath, &sbuf);
-	return sbuf.FsCapabilities;
+	struct vfs_statvfs_struct statbuf;
+	ZERO_STRUCT(statbuf);
+	sys_statvfs(handle->conn->connectpath, &statbuf);
+	return statbuf.FsCapabilities;
 #endif
 	return FILE_CASE_SENSITIVE_SEARCH | FILE_CASE_PRESERVED_NAMES;
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list