Mail Archives: cygwin-developers/1998/09/23/12:46:14
Hi!
According to the following code fragment from tcl test suite:
if {[info commands testfilewait] != ""} {
test event-13.8 {Tcl_WaitForFile procedure, waiting indefinitely} unixOnly {
set f [open "|sleep 2" r]
set result ""
lappend result [testfilewait $f readable 100]
lappend result [testfilewait $f readable -1]
close $f
set result
} {{} readable}
}
select() call should mark file descriptor as readable on EOF contition, isn't it?
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
- Raw text -