From c4f9adf9dd83265358f8f086add883d63890c68f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:07:54 +0100 Subject: [PATCH] s3: "check_log_size" only looks at the size --- source3/lib/debug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 1986d6cfca3..80b8310ab20 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -746,8 +746,7 @@ void check_log_size( void ) maxlog = lp_max_log_size() * 1024; - if(sys_fstat(x_fileno(dbf), &st, - lp_fake_dir_create_times()) == 0 + if(sys_fstat(x_fileno(dbf), &st, false) == 0 && st.st_ex_size > maxlog ) { (void)reopen_logs(); if( dbf && get_file_size( debugf ) > maxlog ) { -- 2.11.4.GIT