Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-03-19
01:22 • Closed ticket [1403831fff]: Invalid {\~xxx} handling on windows plus 7 other... artifact: cede353ba7 user: vincentdarley
2006-01-12
12:23 • New ticket [1403831fff]. artifact: 6f4c46dca1 user: nobody

Invalid {\~xxx} handling on windows

Closed / Invalid1403831fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-01-12 12:23:39
Somebody uses files with '~' as a first letter.

Windows:
---
(oleinickoa.DNIPRO) 49 % file pathtype  {\~lalal}
volumerelative
(oleinickoa.DNIPRO) 50 % file dirname {\~lalala}
/
(oleinickoa.DNIPRO) 51 % info patchlevel
8.4.12
---

Unix:
---
% file pathtype  {\~lalal}
relative
% file dirname {\~lalala}
.
% info patchlevel
8.4.6
---

Workaround found:
---
(oleinickoa.DNIPRO) 53 % file pathtype  {.\~lalal}
relative
(oleinickoa.DNIPRO) 54 % file dirname {.\~lalala}
.
---
vincentdarleyplain2006-03-19 01:22:23
Logged In: YES 
user_id=32170

I don't see what the problem is here.  'volumerelative'
paths are defined as those starting with '/' or '\' on
windows, and that is what you have provided.  The
interpretations of paths are different on each platform,
since each platform is different.  The above behaviour
corresponds with what is documented in filename.n
Log in (anonymous is fine) to add a comment.