[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-671-ge799eb8

Jeremy Allison jra at samba.org
Sun Dec 16 07:16:31 GMT 2007


The branch, v3-2-test has been updated
       via  e799eb8da6f5e7a2173ba6b8fb040430fd1c6f34 (commit)
      from  446ebae76d6796b30e4c71ff7190337c28637be6 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit e799eb8da6f5e7a2173ba6b8fb040430fd1c6f34
Author: Jeremy Allison <jra at samba.org>
Date:   Sat Dec 15 23:05:30 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 b97262a..e77e786 100644
--- a/source/lib/clobber.c
+++ b/source/lib/clobber.c
@@ -53,7 +53,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