Skip to content

Commit

Permalink
Fixed "Null PMC access in find_method(readline_interactive)" error
Browse files Browse the repository at this point in the history
  • Loading branch information
soh-cah-toa committed Jun 7, 2011
1 parent 439aeb8 commit a91443f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hbdb.c
Expand Up @@ -67,12 +67,12 @@ hbdb_get_command(PARROT_INTERP)
STRING *prompt;

/* DEBUG */
PMC *stdoutput = Parrot_io_stdhandle(interp, stdout, NULL);
PMC *stdoutput = Parrot_io_stdhandle(interp, STDOUT_FILENO, NULL);
STRING *say = Parrot_str_new_constant(interp, "say");
/* DEBUG */

/* Create FileHandle PMC */
stdinput = Parrot_io_stdhandle(interp, stdin, NULL);
stdinput = Parrot_io_stdhandle(interp, STDIN_FILENO, NULL);

/* Create string constants */
readline = Parrot_str_new_constant(interp, "readline_interactive");
Expand Down

0 comments on commit a91443f

Please sign in to comment.