From e7dd81f7280612a65b7a466e6d870b808272b34f Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 13 Jan 2014 21:56:23 -0800 Subject: * stream.c (put_byte): Bugfix: was checking whether the put_char virtual function is not null, rather than put_byte. --- ChangeLog | 5 +++++ stream.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d3191013..eea30d4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-01-13 Kaz Kylheku + + * stream.c (put_byte): Bugfix: was checking whether the put_char + virtual function is not null, rather than put_byte. + 2014-01-13 Kaz Kylheku Bugfix in regex char ranges affecting ranges whose upper end diff --git a/stream.c b/stream.c index 7ef91d5c..e7cf8b04 100644 --- a/stream.c +++ b/stream.c @@ -1777,7 +1777,7 @@ val put_byte(val byte, val stream) { struct strm_ops *ops = (struct strm_ops *) stream->co.ops; - return ops->put_char ? ops->put_byte(stream, b) : nil; + return ops->put_byte ? ops->put_byte(stream, b) : nil; } } -- cgit v1.2.3