Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 435)
+++ /trunk/docs/Changelog	(revision 436)
@@ -1,2 +1,6 @@
+3.0.13:
+	* Fix race condition in GrowingLogfiles policy that
+	  causes spurious reports (problem noticed by J. Daubert)
+
 3.0.12:
 	* Fix compiler warning in bignum.c (unused parameter)
Index: /trunk/src/sh_unix.c
===================================================================
--- /trunk/src/sh_unix.c	(revision 435)
+++ /trunk/src/sh_unix.c	(revision 436)
@@ -4002,4 +4002,7 @@
 	      if ((theFile->check_mask & MODI_SGROW) != 0)
 		{
+		  /* Update size so it matches the one for which the checksum
+		     has been computed */
+		  fbuf.st_size = length_current;
 		  buf.st_size  = fbuf.st_size;
 		  sl_rewind(rval_open);
@@ -4056,4 +4059,7 @@
 	      if ((theFile->check_mask & MODI_SGROW) != 0) 
 		{
+		  /* Update size so it matches the one for which the checksum
+		     has been computed */
+		  fbuf.st_size = length_current;
 		  buf.st_size  = fbuf.st_size;
 		  sl_rewind(rval_open);
