chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #763: posix unit implicitly depends on tcp unit


From: Chicken Trac
Subject: [Chicken-janitors] #763: posix unit implicitly depends on tcp unit
Date: Fri, 23 Dec 2011 16:13:46 -0000

#763: posix unit implicitly depends on tcp unit
----------------------------+-----------------------------------------------
 Reporter:  syn             |       Owner:       
     Type:  defect          |      Status:  new  
 Priority:  major           |   Milestone:  4.8.0
Component:  core libraries  |     Version:  4.7.x
 Keywords:                  |  
----------------------------+-----------------------------------------------
 The procedure {{{port->fileno}}} defined in the {{{posix}}} unit calls
 {{{##sys#tcp-port->fileno}}} from the {{{tcp}}} unit if {{{(eq? 'socket
 (##sys#slot port 7))}}}. Now, the {{{unix-sockets}}} extension also sets
 this slot to {{{socket}}} on its ports (cf. the {{{io-ports}}} procedure)
 which leads to an error when a user didn't load the {{{tcp}}} unit and
 calls {{{port->fileno}}} on such a port. I'm not sure about the cleanest
 fix for this. Any takers?

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/763>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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