Tcl Source Code

View Ticket
Login
Ticket UUID: 4b4830eb5410a6eb391f63ef0ac37aa8e7825b98
Title: reflected channel truncate method
Type: RFE Version: >= 8.7
Submitter: chw Created on: 2021-03-15 09:44:40
Subsystem: 25. Channel System Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2021-03-30 16:32:39
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2021-03-30 16:32:39
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-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 😀.


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-18 09:27:14:

Committed now to the rfe-4b4830eb54 branch.

Do you have any testcases?


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!


Attachments: