Opening a zipfs mounted file in mode w+ does not permit reading from file
Closed / Fixed00018ec7a0b54182cc3ad68b995e8246ff97ad91Created 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-09-23 11:51:32
An error is generated when attempting to read from a zipfs file that is opened in w+ mode.
% set m [testmount]
//zipfs:/mt
% set fd [open $m/test w+]
zipfs_37_1
% puts $fd 123
% seek $fd 0
% read $fd
channel "zipfs_37_1" wasn't opened for reading
Referenced by4
7e51dd06e2Merge [a7bd45f8711fd374]: Fix [00018ec7a0], [f91ee30d33], [23dd83ce7c] - zipfs r+, w+ modes, zero byte allocation. check-in2024-08-22 15:10:15a7bd45f871Merge 8.7 - Fix [00018ec7a0], [f91ee30d33], [23dd83ce7c] - zipfs r+, w+ modes, zero byte allocation check-in2023-09-27 11:44:06a6c30811c9Fix [00018ec7a0], [f91ee30d33], [23dd83ce7c] - zipfs r+, w+ modes, zero byte allocation check-in2023-09-27 11:11:5332f7d369cfBug [00018ec7a0] - zipfs w+ not permitting read check-in2023-09-27 10:46:52
apnadkarniplain2023-09-27 11:50:26
Fixed in [a6c30811c9]
Log in (anonymous is fine) to add a comment.