git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a09ba4
)
s3 onefs: Fix failure in POSIX smbtorture test
author
Tim Prouty
<tprouty@samba.org>
Tue, 30 Jun 2009 23:41:48 +0000
(16:41 -0700)
committer
Tim Prouty
<tprouty@samba.org>
Mon, 6 Jul 2009 22:38:35 +0000
(15:38 -0700)
The return value of readlink was a bool instead of an int,
which caused the length of the returned value to never be
>1.
source3/modules/vfs_onefs_shadow_copy.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_onefs_shadow_copy.c
b/source3/modules/vfs_onefs_shadow_copy.c
index 8d7e109170bbec14e80c10170f929c90498d413e..04460d6056c91111a46ea2337708141170d3e5d7 100644
(file)
--- a/
source3/modules/vfs_onefs_shadow_copy.c
+++ b/
source3/modules/vfs_onefs_shadow_copy.c
@@
-404,13
+404,13
@@
onefs_shadow_copy_symlink(vfs_handle_struct *handle,
return ret;
}
-static
bool
+static
int
onefs_shadow_copy_readlink(vfs_handle_struct *handle, const char *path,
char *buf, size_t bufsiz)
{
SHADOW_NEXT(READLINK,
(handle, cpath ?: path, buf, bufsiz),
-
bool
);
+
int
);
}
/**