diff options
author | Gerald Carter <jerry@samba.org> | 2005-03-22 21:17:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:13 -0500 |
commit | b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf (patch) | |
tree | 10b5f684df42cc80c16351413839276cd4bec8c0 /source3/client | |
parent | b360f556a5c1a6e9ed7a941451eca5d278a8a633 (diff) | |
download | samba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.tar.gz samba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.tar.xz samba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.zip |
r5968: derrell's large file fix for libsmbclient (BUG 2505)
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 4 | ||||
-rw-r--r-- | source3/client/clitar.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 9a09d50cc0..d03c323127 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -710,7 +710,7 @@ static int do_get(char *rname, char *lname, BOOL reget) struct timeval tp_start; int read_size = io_bufsize; uint16 attr; - size_t size; + SMB_OFF_T size; off_t start = 0; off_t nread = 0; int rc = 0; @@ -1134,7 +1134,7 @@ static int do_put(char *rname, char *lname, BOOL reput) { int fnum; XFILE *f; - size_t start = 0; + SMB_OFF_T start = 0; off_t nread = 0; char *buf = NULL; int maxwrite = io_bufsize; diff --git a/source3/client/clitar.c b/source3/client/clitar.c index 524feca1d2..919545291f 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -44,7 +44,7 @@ static int clipfind(char **aret, int ret, char *tok); typedef struct file_info_struct file_info2; struct file_info_struct { - SMB_BIG_UINT size; + SMB_OFF_T size; uint16 mode; uid_t uid; gid_t gid; |