diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-19 00:28:51 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-19 00:28:51 +0000 |
commit | 9965345dfe11415fe4409828505acf6c7fe193b9 (patch) | |
tree | 698244d2acf57eb8a374213afbc7d3b728b26182 /util.c | |
parent | 48eb4d6f7d05204aa5e734e924c7236048de530c (diff) | |
download | perl-9965345dfe11415fe4409828505acf6c7fe193b9.tar.gz |
Sarathy pointed out that instead of zeroing heap
it is more prudent to poison it.
p4raw-id: //depot/perl@16688
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3121,7 +3121,7 @@ Perl_new_struct_thread(pTHX_ struct perl_thread *t) SvCUR_set(sv, sizeof(struct perl_thread)); thr = (Thread) SvPVX(sv); #ifdef DEBUGGING - memset(thr, 0xab, sizeof(struct perl_thread)); + Poison(thr, 1, struct perl_thread); PL_markstack = 0; PL_scopestack = 0; PL_savestack = 0; |