[SCM] Samba Shared Repository - branch v3-0-test updated -
release-3-0-28-35-g38eca7a
Jeremy Allison
jra at samba.org
Sun Dec 16 07:16:37 GMT 2007
The branch, v3-0-test has been updated
via 38eca7a2d0d4b899c3ff94dc3ec51e103ac49cdd (commit)
from e2c4d91a331001b4cae82e9820323036812b5bcd (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test
- Log -----------------------------------------------------------------
commit 38eca7a2d0d4b899c3ff94dc3ec51e103ac49cdd
Author: Jeremy Allison <jra at samba.org>
Date: Sat Dec 15 23:05:37 2007 -0800
Cope with valgrind > 3.2.x.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/lib/clobber.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/clobber.c b/source/lib/clobber.c
index fb3a0dc..d3a9c59 100644
--- a/source/lib/clobber.c
+++ b/source/lib/clobber.c
@@ -54,7 +54,11 @@ void clobber_region(const char *fn, unsigned int line, char *dest, size_t len)
* (This is not redundant with the clobbering above. The
* marking might not actually take effect if we're not running
* under valgrind.) */
+#if defined(VALGRIND_MAKE_MEM_UNDEFINED)
+ VALGRIND_MAKE_MEM_UNDEFINED(dest, len);
+#elif defined(VALGRIND_MAKE_WRITABLE)
VALGRIND_MAKE_WRITABLE(dest, len);
+#endif
#endif /* VALGRIND */
#endif /* DEVELOPER */
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list