[fileevent channel readable] errors on unreadable channel
Open697899ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2003-03-05 10:21:55
an error is returned when trying to read the readable fileevent handler on a channel that was opened for writing only. setting a readable handler on a non-readable channel is obviously impossible and should return an error. but it seems more logical to return an empty string when the readable handler is merely queried. % set f [open testfile w] % fileevent $f readable channel is not readable
dgp Ticket [697899ffff]: 1 change
[History diff]2003-11-13 05:54:59
Log in (anonymous is fine) to add a comment.