1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

Fix input/output port typo.

This commit is contained in:
Neil Jerram 2003-01-08 21:36:20 +00:00
parent b46fae006d
commit 2f413bc4bd
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-01-08 Neil Jerram <neil@ossau.uklinux.net>
* readline.c (scm_readline): Check that scm_cur_outp is an output
port, not an input one.
2002-12-08 Rob Browning <rlb@defaultvalue.org>
* configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST.

View file

@ -184,7 +184,7 @@ SCM_DEFINE (scm_readline, "%readline", 0, 4, 0,
SCM_EOL);
}
if (!((SCM_UNBNDP (outp) && SCM_OPINFPORTP (scm_cur_outp))
if (!((SCM_UNBNDP (outp) && SCM_OPOUTFPORTP (scm_cur_outp))
|| SCM_OPOUTFPORTP (outp)))
{
--in_readline;