Tcl Source Code

View Ticket
Login
2026-10-14
15:31 • Ticket [2920003fff] chan push does not return the documented value status st... artifact: e04e0250f5 user: serhiy.storchaka
15:31 • Ticket [2920003fff]: 4 changes artifact: bdc7c7d0b7 user: serhiy.storchaka
15:31 • Ticket [7b0e690b70] chan push returns channel ID status still Open with 4 ot... artifact: 56c05bd5e6 user: serhiy.storchaka
15:30
Fix [7b0e690b70] and [2920003]: document that [chan push] returns the name of the channel, and that ... closed check-in: 766139d4e1 user: serhiy.storchaka tags: doc-chan-push-result
2010-01-19
04:31 • Ticket [2920003fff] chan push does not return the documented value status st... artifact: 56cee7334b user: sbron
2009-12-23
19:12 • Ticket [2920003fff]: 4 changes artifact: 2c0e76bfe0 user: sbron
19:12 • Add attachment chanpush.patch to ticket [2920003fff] artifact: f62c003690 user: sbron
12:12 • New ticket [2920003fff] chan push does not return the documented value. artifact: 0cee9c7300 user: sbron

Ticket UUID: 2920003
Title: chan push does not return the documented value
Type: Bug Created on: 2009-12-23 12:12:25
Submitter: sbron Assigned to: andreas_kupries
Subsystem: 24. Channel Commands Severity: Minor
Priority: 5 Medium Last modified: 2026-10-14 15:31:50
Status: Open Closed by:
Resolution: None Closed on:
Version: 8.6.18, 9.0.5, 9.1.0
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 2009-12-23 19:12:26:

File Added - 356247: chanpush.patch

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.

serhiy.storchaka added on 2026-10-14 15:31:28:

Same as [7b0e690b70]. Proposed fix in branch doc-chan-push-result: chan.n and transchan.n are corrected, as you suggested.


Attachments: