1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-30 06:50:31 +02:00

Fix port-clear-stream-start-for-bom-read bug

* libguile/ports.c (scm_port_clear_stream_start_for_bom_read): Fix to
  return SCM_BOOL_F instead of 0.
This commit is contained in:
Andy Wingo 2016-05-07 12:40:46 +02:00
parent bed7bdc19c
commit 13f2128587

View file

@ -2381,7 +2381,7 @@ SCM_DEFINE (scm_port_clear_stream_start_for_bom_read,
pti = SCM_PORT_GET_INTERNAL (port);
if (!pti->at_stream_start_for_bom_read)
return 0;
return SCM_BOOL_F;
/* Maybe slurp off a byte-order marker. */
pt = SCM_PTAB_ENTRY (port);