diff src/free-hook.c @ 3988:1227374e7199

[xemacs-hg @ 2007-05-26 18:28:19 by aidan] Make double-free checks 64-bit safe, from Sebastian Freundt.
author aidan
date Sat, 26 May 2007 18:28:23 +0000
parents 24c38b122889
children 6f2158fa75ed
line wrap: on
line diff
--- a/src/free-hook.c	Fri May 25 21:51:11 2007 +0000
+++ b/src/free-hook.c	Sat May 26 18:28:23 2007 +0000
@@ -179,6 +179,8 @@
 	    / sizeof (long);
 	  unsigned long i;
 
+          /* Not using the DEADBEEF_CONSTANT #define, since we don't know
+           * that allocation sizes will be multiples of eight. */
 	  for (i = 0; i < long_length; i++)
 	    ((unsigned long *) ptr)[i] = 0xdeadbeef;
 	}