Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2015-02-20
19:31 • Closed ticket [e08c2c407b]: New Tcl_Chan "assertions" failing test sui... artifact: 0d98ea52f7 user: dgp
19:30
[e08c2c407b] The getHandleProc routine in the Tcl_Channel struct is optional. Update the docs to mak... check-in: 4b4a843052 user: dgp tags: trunk
19:29
[e08c2c407b] The getHandleProc routine in the Tcl_Channel struct is optional. Update the docs to ma... check-in: 5d588dbd27 user: dgp tags: core-8-5-branch
2015-02-19
22:01
per ticket [e08c2c407b053bbfaab] (and stray code related to [84f208762f172e]) adj code to passing t... check-in: e8e453a016 user: bch tags: trunk
20:33 • Ticket [e08c2c407b] New Tcl_Chan "assertions" failing test suite s... artifact: 150ab1cedf user: dgp
2015-02-08
06:50
Tcl_ChanneType inputProc and outputProc tests, according to docs (ref: [e08c2c407b053bbfaab]) closed check-in: d535157618 user: bch tags: tclchan_assertions
06:12 • Ticket [e08c2c407b] New Tcl_Chan "assertions" failing test suite s... artifact: 6fa45e9472 user: bch
05:56 • Ticket [e08c2c407b]: 5 changes artifact: dd462661d5 user: bch
05:27 • New ticket [e08c2c407b]. artifact: 6bd182d384 user: bch

New Tcl_Chan "assertions" failing test suite

Closed / Fixede08c2c407b053bbfaab66d480ed5348cf33d10abCreated 12 years agoUpdated 12 years ago
bchplain2015-02-08 05:27:40
from ./unix make test:

...
io.test
Test file error: Required getHandleProc is unset.
ioCmd.test
Test file error: Required getHandleProc is unset.
ioTrans.test
Test file error: Required getHandleProc is unset.
iogt.test
Test file error: Required getHandleProc is unset.
...
Referenced by2
  • 4b4a843052[e08c2c407b] The getHandleProc routine in the Tcl_Channel struct is optional. Update the docs to make that clear. check-in2015-02-20 19:30:48
  • 5d588dbd27[e08c2c407b] The getHandleProc routine in the Tcl_Channel struct is optional. Update the docs to make that clear. check-in2015-02-20 19:29:20
bchplain2015-02-08 05:56:10
From Tcl_ChannelCreate(3):

...
       Those which are not necessary may be set to NULL in the
       struct: blockModeProc, seekProc, setOptionProc, getOptionProc, and
       close2Proc, in addition to flushProc, handlerProc, threadActionProc,
       and truncateProc.  Other functions that cannot be implemented in a
       meaningful way should return EINVAL when called, to indicate that the
       operations they represent are not available.
...

getHandlerProc is not listed as "may be set to NULL". Neither are inputProc or outputProc.
bchplain2015-02-08 06:12:46
dgpplain2015-02-19 20:33:33
Tcl trunk is now panicking in the test suite, just
as the comment below reports.  Please fix!
dgpplain2015-02-20 19:31:24
Fixed the docs.
Log in (anonymous is fine) to add a comment.