|
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 | |
chan push does not return the documented value
Open2920003fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 49 days ago
Descriptionplain2009-12-23 12:12:25
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.
sbronplain2009-12-23 19:12:26
File Added - 356247: chanpush.patch
sbronplain2010-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.storchakawiki2026-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.
serhiy.storchaka Ticket [2920003fff]: 2 changes
[History diff]2026-10-14 15:31:50
Log in (anonymous is fine) to add a comment.
Attachments:
- chanpush.patch [download] added by sbron on 2009-12-23 19:12:26. [details]