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/torture | |
parent | b360f556a5c1a6e9ed7a941451eca5d278a8a633 (diff) | |
download | samba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.tar.gz samba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.tar.bz2 samba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.zip |
r5968: derrell's large file fix for libsmbclient (BUG 2505)
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 6 | ||||
-rw-r--r-- | source3/torture/utable.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 37aefc55ac..4828861906 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -590,7 +590,7 @@ static BOOL run_readwritelarge(int dummy) static struct cli_state *cli1; int fnum1; const char *lockfname = "\\large.dat"; - size_t fsize; + SMB_OFF_T fsize; char buf[126*1024]; BOOL correct = True; @@ -2360,7 +2360,7 @@ static BOOL run_trans2test(int dummy) { struct cli_state *cli; int fnum; - size_t size; + SMB_OFF_T size; time_t c_time, a_time, m_time, w_time, m_time2; const char *fname = "\\trans2.tst"; const char *dname = "\\trans2"; @@ -3591,7 +3591,7 @@ static BOOL run_opentest(int dummy) const char *fname = "\\readonly.file"; int fnum1, fnum2; char buf[20]; - size_t fsize; + SMB_OFF_T fsize; BOOL correct = True; char *tmp_path; diff --git a/source3/torture/utable.c b/source3/torture/utable.c index ba803a0da4..c9b30f06e1 100644 --- a/source3/torture/utable.c +++ b/source3/torture/utable.c @@ -137,7 +137,7 @@ BOOL torture_casetable(int dummy) } for (c=1; c < 0x10000; c++) { - size_t size; + SMB_OFF_T size; if (c == '.' || c == '\\') continue; |