1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-27 23:40:24 +02:00

Fix input/output port typo.

This commit is contained in:
Neil Jerram 2003-01-09 00:00:32 +00:00
parent 37b15e9c00
commit 245b7bf869
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

@ -183,7 +183,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;