[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/03: Fix port-clear-stream-start-for-bom-read bug
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/03: Fix port-clear-stream-start-for-bom-read bug |
Date: |
Sat, 7 May 2016 10:43:48 +0000 (UTC) |
wingo pushed a commit to branch wip-port-refactor
in repository guile.
commit 13f2128587d5e3e99a99ea49b16855ffb1ab9399
Author: Andy Wingo <address@hidden>
Date: Sat May 7 12:40:46 2016 +0200
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.
---
libguile/ports.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libguile/ports.c b/libguile/ports.c
index e823436..c70185e 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -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);