Skip to content
Tcl Source Code Artifact [42e1d39fcb]
Login

Artifact [42e1d39fcb]

Artifact 42e1d39fcbd9903f5831d5d879b41e5ed840d721:

Ticket change [42e1d39fcb] - Ticket [1350564fffffffff|1350564fff] <i>Inadequate fcopy operation</i> status still Open with 4 other changes by coldstore on 2005-11-22 14:30:55.
D 2005-11-22T14:30:55
J icomment Logged\sIn:\sYES\s\nuser_id=19214\n\nI'm\snot\ssure\sI\sfollow\s...\sthe\sfollowing\scode\sseems\sto\swork\nas\sI\swould\sexpect\sit\sto,\sin\sa\srecent\s8.5\s-\sregardless\sof\nwhether\sthe\s[fileevent]\soccurs\sbefore\sor\safter\sthe\s[fcopy].\n\nIs\sthe\sproblem\sthat\sa\sreadable\sevent\swon't\strigger\swhile\sthe\n[fcopy]\sis\sactive\s(that\sis,\sbefore\sDone\sis\scalled?)\n\nproc\sreadable\s{sock}\s{\n\s\s\s\sputs\sstderr\s"R:\s[gets\s$sock]"\n}\n\nproc\sdone\s{args}\s{\n\s\s\s\sputs\sstderr\s"DONE:\s$args"\n}\n\nproc\saccept\s{sock\sargs}\s{\n\s\s\s\sputs\sstderr\s"accept\s$args"\n\s\s\s\sset\sfd\s[open\sfcopy-socket.tcl\sr]\n\s\s\s\sfcopy\s$fd\s$sock\s-command\sdone\n\s\s\s\sfileevent\s$sock\sreadable\s[list\sreadable\s$sock]\n}\n\nsocket\s-server\saccept\s9999\n\nvwait\sforever\n\n
J login coldstore
J mimetype text/plain
J username coldstore
K 1350564fffffffffffffffffffffffffffffffff
U coldstore
Z d596bc093300ad63af696847a3206fcb