cvsuser 02/02/26 08:37:33
Modified: . interpreter.c
Log:
Fix solaris test failures
Courtesy of Josh Wilmes <[EMAIL PROTECTED]>
Revision Changes Path
1.72 +2 -1 parrot/interpreter.c
Index: interpreter.c
===================================================================
RCS file: /home/perlcvs/parrot/interpreter.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -w -r1.71 -r1.72
--- interpreter.c 18 Feb 2002 08:26:03 -0000 1.71
+++ interpreter.c 26 Feb 2002 16:37:33 -0000 1.72
@@ -1,7 +1,7 @@
/* interpreter.c
* Copyright: (When this is determined...it will go here)
* CVS Info
- * $Id: interpreter.c,v 1.71 2002/02/18 08:26:03 simon Exp $
+ * $Id: interpreter.c,v 1.72 2002/02/26 16:37:33 dan Exp $
* Overview:
* The interpreter api handles running the operations
* Data Structure and Algorithms:
@@ -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;