[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1801: parley constructs an internally inconsistent input port
From: |
Chicken Trac |
Subject: |
Re: #1801: parley constructs an internally inconsistent input port |
Date: |
Wed, 27 Apr 2022 04:56:02 -0000 |
#1801: parley constructs an internally inconsistent input port
----------------------------------------------+-------------------------
Reporter: Vasilij Schneidermann | Owner: (none)
Type: defect | Status: new
Priority: minor | Milestone: someday
Component: extensions | Version: 5.3.0
Resolution: | Keywords: parley port
Estimated difficulty: trivial |
----------------------------------------------+-------------------------
Comment (by evhan):
> Perhaps C5 changed some port internals?
It did, the direction slot changed from a boolean to a bitmap.
For code that is rummaging around inside a port's internals, if you want
to know whether a port is open for input, you can check the first slot of
the port for {{0x1}} (or {{0x2}} for output).
Not sure if that helps, just for the record.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1801#comment:3>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.