[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4377-gc9c50ce
Volker Lendecke
vlendec at samba.org
Sun Nov 16 12:18:36 GMT 2008
The branch, v3-3-test has been updated
via c9c50ced497476ef43ec0cc5a205a89c2b9318ba (commit)
from 84c5c4dc0d2adf4e160f991a91cdc92d5347f60e (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit c9c50ced497476ef43ec0cc5a205a89c2b9318ba
Author: TAKAHASHI Motonobu <monyo at samba.gr.jp>
Date: Sun Nov 16 13:17:16 2008 +0100
Fix bug 5901: Default for streams_depot location
-----------------------------------------------------------------------
Summary of changes:
source/modules/vfs_streams_depot.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/modules/vfs_streams_depot.c b/source/modules/vfs_streams_depot.c
index d8c476f..e7eceda 100644
--- a/source/modules/vfs_streams_depot.c
+++ b/source/modules/vfs_streams_depot.c
@@ -117,9 +117,17 @@ static char *stream_dir(vfs_handle_struct *handle, const char *base_path,
struct file_id id;
uint8 id_buf[16];
+ tmp = talloc_asprintf(talloc_tos(), "%s/.streams", handle->conn->connectpath);
+
+ if (tmp == NULL) {
+ errno = ENOMEM;
+ goto fail;
+ }
+
const char *rootdir = lp_parm_const_string(
SNUM(handle->conn), "streams_depot", "directory",
- handle->conn->connectpath);
+ tmp);
+ TALLOC_FREE(tmp);
if (base_sbuf == NULL) {
if (SMB_VFS_NEXT_STAT(handle, base_path, &sbuf) == -1) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list