Tcl Source Code

View Ticket
Login
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

Ticket UUID: 4b4830eb5410a6eb391f63ef0ac37aa8e7825b98
Title: reflected channel truncate method
Type: RFE Created on: 2021-03-15 09:44:40
Submitter: chw Assigned to: jan.nijtmans
Subsystem: 25. Channel System Severity: Minor
Priority: 5 Medium Last modified: 2021-03-30 16:32:39
Status: Closed Closed by: jan.nijtmans
Resolution: Fixed Closed on: 2021-03-30 16:32:39
Version: >= 8.7
Description:
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?
User Comments:
jan.nijtmans added on 2021-03-15 10:16:08:

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

Thanks!


jan.nijtmans added on 2021-03-18 09:27:14:

Committed now to the rfe-4b4830eb54 branch.

Do you have any testcases?


chw added on 2021-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.nijtmans added on 2021-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 😀.


Attachments: