On Tue 04 Jan 2005 12:09, Steve Hay <[EMAIL PROTECTED]> wrote:
> 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?

For unix-like OS's, there are some hints that force it on or off depending on
the version of the OS and/or the compiler used. I don't know if somethink like
that is also the case in win-land

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

Patch looks fine.
Does it have any impact on 23666?

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.5, & 5.9.x, and 809 on  HP-UX 10.20 & 11.00, 11i,
   AIX 4.3, AIX 5.2, SuSE 9.1, and Win2k.  http://www.cmve.net/~merijn/
http://archives.develooper.com/[email protected]/   [email protected]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org


Reply via email to