From 6aa12fcb30c8f7246fd0215b1d808191c0d87668 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 5 Apr 2012 14:53:08 +1000 Subject: build: Remove SMB_OFF_T, replace with off_t Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104 --- source3/torture/torture.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/torture/torture.c') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 1e9e59b280..5214e1319d 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -984,7 +984,7 @@ static bool run_readwritelarge_internal(void) static struct cli_state *cli1; uint16_t fnum1; const char *lockfname = "\\large.dat"; - SMB_OFF_T fsize; + off_t fsize; char buf[126*1024]; bool correct = True; NTSTATUS status; @@ -3281,7 +3281,7 @@ static bool run_trans2test(int dummy) { struct cli_state *cli; uint16_t fnum; - SMB_OFF_T size; + off_t size; time_t c_time, a_time, m_time; struct timespec c_time_ts, a_time_ts, m_time_ts, w_time_ts, m_time2_ts; const char *fname = "\\trans2.tst"; @@ -4851,7 +4851,7 @@ static bool run_opentest(int dummy) const char *fname = "\\readonly.file"; uint16_t fnum1, fnum2; char buf[20]; - SMB_OFF_T fsize; + off_t fsize; bool correct = True; char *tmp_path; NTSTATUS status; @@ -7016,7 +7016,7 @@ static bool run_mangle1(int dummy) fstring alt_name; NTSTATUS status; time_t change_time, access_time, write_time; - SMB_OFF_T size; + off_t size; uint16_t mode; printf("starting mangle1 test\n"); @@ -7586,7 +7586,7 @@ static bool run_streamerror(int dummy) "testdir:{4c8cc155-6c1e-11d1-8e41-00c04fb9386d}:$DATA"; NTSTATUS status; time_t change_time, access_time, write_time; - SMB_OFF_T size; + off_t size; uint16_t mode, fnum; bool ret = true; -- cgit