well, pdump is broken...the patch to fix it...

Index: pdump.c
===================================================================
RCS file: /cvs/public/parrot/pdump.c,v
retrieving revision 1.10
diff -u -r1.10 pdump.c
--- pdump.c 18 Feb 2002 08:26:03 -0000 1.10
+++ pdump.c 20 Feb 2002 21:52:49 -0000
@@ -19,7 +19,7 @@
     opcode_t *        packed;
     size_t            packed_size;
     struct PackFile * pf;
-    struct Parrot_Interp *interpreter = make_interpreter(0);
+    struct Parrot_Interp *interpreter;
 
     if (argc != 2) {
         fprintf(stderr, "pdump: usage: pdump FILE\n");
@@ -37,8 +37,11 @@
     }
 
     init_world();
-  
     interpreter = make_interpreter(0);
+
+    if(!interpreter) {
+        return 1;
+    }
 
     packed_size = file_stat.st_size;

Reply via email to