Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-03-30
16:32 • Closed ticket [4b4830eb54]: reflected channel truncate method plus 6 other c... artifact: 5172afa5a1 user: jan.nijtmans
2021-03-18
10:16 • Ticket [4b4830eb54]: 3 changes artifact: 7bcbb0510e user: chw
09:27 • Ticket [4b4830eb54]: 3 changes artifact: 54d4a8fff8 user: jan.nijtmans
09:26
Proposed implementation of RFE [4b4830eb54] closed check-in: 5ce99f250f user: jan.nijtmans tags: rfe-4b4830eb54
2021-03-15
10:16 • Ticket [4b4830eb54] reflected channel truncate method status still Open with... artifact: 99a61a58ec user: jan.nijtmans
09:45 • Add attachment refchan-core-8-branch.diff to ticket [4b4830eb5410a6eb|4... artifact: 530610842a user: chw
09:44 • New ticket [4b4830eb54] reflected channel truncate method. artifact: 3f3f9a5540 user: chw

reflected channel truncate method

Closed / Fixed4b4830eb5410a6eb391f63ef0ac37aa8e7825b98Created 6 years agoUpdated 6 years ago
Descriptionplain2021-03-15 09:44:40
The reflected channel module in tclIORChan.c lacks an implementation
to map a "truncate" subcommand for "chan truncate". Please find
attached a diff against core-8-branch which adds this feature.

Does it require to be TIP'ed?
Referenced by1
jan.nijtmanswiki2021-03-15 10:16:08

I don't think a TIP is necessary for this. I'll have a look.

Thanks!

jan.nijtmanswiki2021-03-18 09:27:14

Committed now to the rfe-4b4830eb54 branch.

Do you have any testcases?

chwplain2021-03-18 10:16:55
Thanks.

I have no test cases, but a use case in a real world scenario, see this
commit on www.androwish.org:

https://www.androwish.org/home/info/b559f1781f390bcd
jan.nijtmanswiki2021-03-30 16:32:39

Committed now to core-8-branch. Thanks!

@chw: If any bug-report is filed on this, I'll send it through to you 😀.

Log in (anonymous is fine) to add a comment.