Overview
| Artifact ID: | 68a5ce4b180b250e79b67b0bdea5ecdef497fb0ee0dd21a52b9bef7006ca8f7a |
|---|---|
| Ticket: | f91ee30d335fcae5ad075155d2bf63423fb8b0ad
Opening a zipfs file in mode r+ truncates at position of last write |
| User & Date: | apnadkarni on 2023-09-26 09:11:51 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
In the sample below, the read at the end should be same as the first except for replacing the first `t` with an `X`. Instead the file is truncated at the trailing end of the last write. ``` % zipfs mount ../tests/zipfiles/test.zip /mt % set fd [open //zipfs:/mt/test r] zipfs_37_1 % read $fd test % close $fd % set fd [open //zipfs:/mt/test r+] zipfs_37_2 % puts -nonewline $fd X % close $fd % set fd [open //zipfs:/mt/test r] zipfs_0_3 % read $fd X % close $fd ```
- foundin changed to: "8.7"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
Opening a zipfs file in mode r+ truncates at position of last write
- type changed to: "Bug"