| Newsgroups |
perl.cvs.mod_parrot |
| Message-ID |
<[email protected]> |
cvsuser 02/07/05 14:45:41
Modified: . mod_parrot.c
Log:
I don't know if this is "right" and I'm trying to hack parrot/embed.c to
allow overriding of stdout, which would get rid of this line, but this
makes mod_parrot compile again :)
Revision Changes Path
1.10 +1 -1 mod_parrot/mod_parrot.c
Index: mod_parrot.c
===================================================================
RCS file: /cvs/public/mod_parrot/mod_parrot.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -r1.9 -r1.10
--- mod_parrot.c 28 May 2002 19:32:32 -0000 1.9
+++ mod_parrot.c 5 Jul 2002 21:45:41 -0000 1.10
@@ -118,7 +118,7 @@
/* suggested change */
/*Parrot_set_pmc_register(interpreter, 1, new_io_pmc(interpreter, PIO_fdopen(interpreter,fd,"a")));*/
/* Create a ParrotIO object as P1*/
- interpreter->pmc_reg.registers[1] = new_io_pmc(interpreter, PIO_fdopen(interpreter,fd,"a"));
+ interpreter->ctx.pmc_reg.registers[1] = new_io_pmc(interpreter, PIO_fdopen(interpreter,fd,"a"));
/* actually run it*/
Parrot_runcode(interpreter, 0, NULL);