Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-08-20
20:25
Merge [5fb3c75e4a4b063d]: Expand zipfs tests. Fix [9a80630571], [6ed3447a7e], [01d8f30342] and manpa... check-in: f6176984d2 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2023-09-15
15:46 • Closed ticket [01d8f30342]: zipfs canonical two argument form produces garbage i... artifact: d97337c458 user: apnadkarni
15:46 • Ticket [01d8f30342]: 3 changes artifact: 25b76da22c user: apnadkarni
08:38
Merge 8.7 - Expand zipfs tests. Fix [9a80630571], [6ed3447a7e], [01d8f30342] and manpages. check-in: 5fb3c75e4a user: apnadkarni tags: trunk, main
08:00
Expand zipfs tests. Fix [9a80630571], [6ed3447a7e], [01d8f30342] and manpages. check-in: 2fd1277ae3 user: apnadkarni tags: core-8-branch
2023-09-14
14:52
More tests and fix one more case triggering bug [01d8f30342] check-in: 7b81ff8bc4 user: apnadkarni tags: apn-zipfs-tests
2023-09-13
16:48 • Ticket [01d8f30342] zipfs canonical two argument form produces garbage in result... artifact: bce0d997f1 user: apnadkarni
16:45
Bug [01d8f30342]. zipfs canonical produces garbage. check-in: 626ffd4fea user: apnadkarni tags: apn-zipfs-tests
12:02 • New ticket [01d8f30342] zipfs canonical two argument form produces garbage in re... artifact: 4c6235b3b2 user: apnadkarni

zipfs canonical two argument form produces garbage in result

Closed / Fixed01d8f30342295486658798851bacf2dd26a3422bCreated 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-09-13 12:02:45

Leaving aside the question of zipfs canonical being implemented and documented in the manpages without being TIP'ed, it produces garbage in its two argument form.

% zipfs canonical mtpt
//zipfs:/mtpt
% zipfs canonical mtpt file
//zipfs:/ú½¼ûfile
% codepoints [zipfs canonical mtpt file]
U+00002F U+00002F U+00007A U+000069 U+000070 U+000066 U+000073 U+00003A U+00002F U+0000FA U+0000BD U+0000BC U+0000FB U+000066 U+000069 U+00006C U+000065
Referenced by5
apnadkarniplain2023-09-13 16:48:26
Fixed this particular issue of pointer miscalculation. Still lots of issues with undefined semantics of the command. Are multiple / to be collapsed? Are drive letters intentionally dropped? Is it intentional that only \\ is considered UNC but not // ?

Leaving open as a reminder to revisit semantics.
apnadkarniplain2023-09-15 15:46:33
Fixed in [2fd1277ae3].
apnadkarni Closed ticket [01d8f30342]. [History diff]2023-09-15 15:46:44
Log in (anonymous is fine) to add a comment.