chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1565: file-lock/blocking failing


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1565: file-lock/blocking failing
Date: Fri, 30 Nov 2018 21:12:55 -0000

#1565: file-lock/blocking failing
---------------------------------------+---------------------
            Reporter:  zbigniew        |      Owner:
                Type:  defect          |     Status:  new
            Priority:  major           |  Milestone:  someday
           Component:  core libraries  |    Version:  5.0.0
          Resolution:                  |   Keywords:
Estimated difficulty:                  |
---------------------------------------+---------------------

Comment (by zbigniew):

 C-Keen and I found this was due to slot 1 of ports changing from a boolean
 (#t == input) to a fixnum bitmask (1 == input, 2 == output, ...). The
 C_flock_setup call was not updated and always considers the port an input
 port. This leads to EBADF when a read lock is requested on an output port.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1565#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]