Displaying 2 results from an estimated 2 matches for "currpos".
Did you mean:
curpos
2008 Dec 23
0
[jra@samba.org: Patch to improve Samba write speeds on Linux ext3 with 3.2.x]
...les/vfs_default.c b/source/modules/vfs_default.c
index 88c7237..8a724ad 100644
--- a/source/modules/vfs_default.c
+++ b/source/modules/vfs_default.c
@@ -745,10 +745,14 @@ static int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_O
SMB_STRUCT_STAT st;
char c = 0;
SMB_OFF_T currpos;
+ enum smb_strict_allocate_options sa_options = lp_strict_allocate(SNUM(fsp->conn));
START_PROFILE(syscall_ftruncate);
- if (lp_strict_allocate(SNUM(fsp->conn))) {
+ /* Only use allocation truncate if strict allocate
+ * is set "on", not off or partial.
+ */
+ if (sa_opti...
2001 May 04
0
samba-2.2.0 on Ultrix 4.5?
...due to limited
range of data type
smbd/sec_ctx.c:227: warning: comparison is always false due to limited
range of data type
Compiling smbd/vfs.c
Compiling smbd/vfs-wrap.c
smbd/vfs-wrap.c: In function `vfswrap_ftruncate':
smbd/vfs-wrap.c:494: parse error before `struct'
smbd/vfs-wrap.c:499: `currpos' undeclared (first use in this function)
smbd/vfs-wrap.c:499: (Each undeclared identifier is reported only once
smbd/vfs-wrap.c:499: for each function it appears in.)
smbd/vfs-wrap.c:499: `vfs_ops' undeclared (first use in this function)
smbd/vfs-wrap.c:508: `st' undeclared (first use i...