[SCM] Samba Shared Repository - branch v3-5-test updated - tevent-0-9-8-918-g4a70162
Jeremy Allison
jra at samba.org
Thu Oct 1 17:55:39 MDT 2009
The branch, v3-5-test has been updated
via 4a7016200731ea3e133665568027a3c99e1fcf71 (commit)
from 2820dc529a04985b7223603e826f6b9905d2611b (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test
- Log -----------------------------------------------------------------
commit 4a7016200731ea3e133665568027a3c99e1fcf71
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 1 16:54:06 2009 -0700
Fix bug #6769 - symlink unlink does nothing.
Always use LSTAT for POSIX pathnames.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_default.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index c92bc8e..680eb12 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1231,7 +1231,11 @@ static NTSTATUS vfswrap_streaminfo(vfs_handle_struct *handle,
if (!NT_STATUS_IS_OK(status)) {
return status;
}
- ret = SMB_VFS_STAT(handle->conn, smb_fname);
+ if (lp_posix_pathnames()) {
+ ret = SMB_VFS_LSTAT(handle->conn, smb_fname);
+ } else {
+ ret = SMB_VFS_STAT(handle->conn, smb_fname);
+ }
sbuf = smb_fname->st;
TALLOC_FREE(smb_fname);
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list