Tcl Source Code

View Ticket
Login
Ticket UUID: 2920003
Title: chan push does not return the documented value
Type: Bug Version: obsolete: 8.6b1.1
Submitter: sbron Created on: 2009-12-23 12:12:25
Subsystem: 24. Channel Commands Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Open Last Modified: 2010-01-19 04:31:12
Resolution: None Closed By:
    Closed on:
Description:
According to both the chan and the transchan manual page [chan push] is supposed to return the transformation handle. Instead it returns the channel.

The attached patch makes the code behave as documented. I have also tried to patch the tests. But the threaded tests are skipped on my system, so chances are these will not all be correct.
User Comments: sbron added on 2010-01-19 04:31:12:
After playing with stacked channels a bit more and starting to understand better how they work, I've come to the conclusion that it's probably the documentation that should be corrected, not the code.

sbron added on 2009-12-23 19:12:26:

File Added - 356247: chanpush.patch

Attachments: