develooper Front page | perl.perl6.internals | Postings from February 2002

[Patch] Fix solaris test failures

From:
Josh Wilmes
Date:
February 23, 2002 21:20
Subject:
[Patch] Fix solaris test failures
Message ID:
200202240520.XAA29205@sky.net

Index: interpreter.c
===================================================================
RCS file: /home/perlcvs/parrot/interpreter.c,v
retrieving revision 1.71
diff -u -r1.71 interpreter.c
--- interpreter.c       18 Feb 2002 08:26:03 -0000      1.71
+++ interpreter.c       24 Feb 2002 05:19:21 -0000
@@ -467,6 +467,7 @@
     /* Initialize interpreter's flags */
     interpreter->flags = flags;
     interpreter->warns = mem_sys_allocate(sizeof(struct warnings_t));
+    memset(interpreter->warns, 0, sizeof(struct warnings_t));
     PARROT_WARNINGS_off(interpreter, PARROT_WARNINGS_ALL_FLAG);
 
     interpreter->pmc_count = 0;


-- 
Josh Wilmes  (josh@hitchhiker.org) | http://www.hitchhiker.org






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