[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-754-g465fd43
Volker Lendecke
vl at samba.org
Thu Dec 20 09:34:38 GMT 2007
The branch, v3-2-test has been updated
via 465fd4385013c95f9778d710d70796feae4eb858 (commit)
from 5de89dd6e0a8a56a5a0f998e3b1d3538367db7d6 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 465fd4385013c95f9778d710d70796feae4eb858
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 20 10:33:13 2007 +0100
Attempt to fix the build
James, at least on my Linux system neither FILE_CASE_SENSITIVE_SEARCH nor
FILE_CASE_PRESERVING_NAMES seem to be defined anywhere. Is it possible that
this is a MacOS/X specific thing? If so, could you add configure tests for
this?
Thanks,
Volker
-----------------------------------------------------------------------
Summary of changes:
source/smbd/statvfs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/statvfs.c b/source/smbd/statvfs.c
index 5fc0afd..4314890 100644
--- a/source/smbd/statvfs.c
+++ b/source/smbd/statvfs.c
@@ -39,11 +39,13 @@ static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf)
statbuf->FreeFileNodes = statvfs_buf.f_ffree;
statbuf->FsIdentifier = statvfs_buf.f_fsid;
+#if defined(FILE_CASE_SENSITIVE_SEARCH) && defined(FILE_CASE_PRESERVING_NAMES)
/* Good defaults for Linux filesystems are case sensitive
* and case preserving.
*/
statbuf->FsCapabilities =
FILE_CASE_SENSITIVE_SEARCH | FILE_CASE_PRESERVING_NAMES;
+#endif
}
return result;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list