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
f6176984d2Merge [5fb3c75e4a4b063d]: Expand zipfs tests. Fix [9a80630571], [6ed3447a7e], [01d8f30342] and manpages. check-in2024-08-20 20:25:295fb3c75e4aMerge 8.7 - Expand zipfs tests. Fix [9a80630571], [6ed3447a7e], [01d8f30342] and manpages. check-in2023-09-15 08:38:102fd1277ae3Expand zipfs tests. Fix [9a80630571], [6ed3447a7e], [01d8f30342] and manpages. check-in2023-09-15 08:00:497b81ff8bc4More tests and fix one more case triggering bug [01d8f30342] check-in2023-09-14 14:52:06626ffd4feaBug [01d8f30342]. zipfs canonical produces garbage. check-in2023-09-13 16:45:19
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.