develooper Front page | perl.perl5.porters | Postings from January 2005

op/bop.t and malloc wrap check on Win32

Thread Next
From:
Steve Hay
Date:
January 4, 2005 03:10
Subject:
op/bop.t and malloc wrap check on Win32
Message ID:
41DA7976.4070801@uk.radan.com
I notice that change 23666 
(http://public.activestate.com/cgi-bin/perlbrowse?patch=23666) now 
causes the op/bop.t test, which had been failing on Win32, to be skipped 
because

C:\p5p\bleadperl>.\perl -Ilib -V:usemallocwrap
usemallocwrap='UNKNOWN';

which, in turn, is presumably because win32/config.vc doesn't set 
"usemallocwrap" either way.

However, I thought that malloc wrap checking was actually enabled on 
Win32/VC++ because win32/config_H.vc has:

/* PERL_MALLOC_WRAP:
 *    This symbol, if defined, indicates that we'd like malloc wrap checks.
 */
#define PERL_MALLOC_WRAP        /**/

Is this all that is required to turn on malloc wrap checking?

If so, then I'll commit the attached patch to bring Config into line 
with reality.

- Steve


------------------------------------------------
Radan Computational Ltd.

We would like to take this opportunity to wish all our customers, suppliers and colleagues seasons greetings.  We will not be sending corporate greetings cards this year.  Instead, we will be making a donation to charity.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only.  If you have received this message in error or there are any problems, please notify the sender immediately.  The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden.  Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd.  The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About