Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-12-10
02:35 • Closed ticket [1dc7f3e5f1]: filesystem-1.30.3 fails when HOME is under a symlink... artifact: c1f2aaa705 user: apnadkarni
2024-12-09
13:50 • Ticket [1dc7f3e5f1]: 5 changes artifact: 748d0d486b user: gahr
10:49 • Ticket [1dc7f3e5f1]: 3 changes artifact: 8dc30ccd80 user: apnadkarni
10:47
Merge 8.7. Fix [1dc7f3e5f1] - filesystem-1.30.3 should normalize before comparing. Tx @gahr check-in: f494e8b592 user: apnadkarni tags: trunk, main
10:38
Merge 8.6. Fix [1dc7f3e5f1] - filesystem-1.30.3 should normalize before comparing. Tx @gahr check-in: 3709e88a03 user: apnadkarni tags: core-8-branch
10:32
Fix [1dc7f3e5f1] - filesystem-1.30.3 should normalize before comparing. Tx @gahr check-in: 631fac1ae5 user: apnadkarni tags: core-8-6-branch
08:04 • Ticket [1dc7f3e5f1] filesystem-1.30.3 fails when HOME is under a symlink sta... artifact: 1fe216eccd user: gahr
08:03 • New ticket [1dc7f3e5f1]. artifact: 6383d25182 user: gahr

filesystem-1.30.3 fails when HOME is under a symlink

Closed / Fixed1dc7f3e5f13be083d761b3f1102949e23cf3cc5bCreated 2 years agoUpdated 2 years ago
Descriptionplain2024-12-09 08:03:42
As of [a479ad913c8b46a4], filesystem-1.30.3 checks that [file normalize ~] and $::env(HOME) produce the same result. This is problematic if $::env(HOME) contains an unnormalized path, e.g., when /home is a symlink to /usr/home. In my case, $::env(HOME) is /home/gahr, while [file normalize ~] is /usr/home/gahr, which makes the test fail.

I suggest to apply [file normalize] to both sides of the check.
Referenced by3
  • f494e8b592Merge 8.7. Fix [1dc7f3e5f1] - filesystem-1.30.3 should normalize before comparing. Tx @gahr check-in2024-12-09 10:47:06
  • 3709e88a03Merge 8.6. Fix [1dc7f3e5f1] - filesystem-1.30.3 should normalize before comparing. Tx @gahr check-in2024-12-09 10:38:23
  • 631fac1ae5Fix [1dc7f3e5f1] - filesystem-1.30.3 should normalize before comparing. Tx @gahr check-in2024-12-09 10:32:28
gahr Ticket [1dc7f3e5f1]: 3 changes [History diff]2024-12-09 08:04:02
apnadkarniplain2024-12-09 10:49:01
@gahr, made your suggested changes. Please test.
gahrplain2024-12-09 13:50:32
Works, thanks!
apnadkarni Closed ticket [1dc7f3e5f1]. [History diff]2024-12-10 02:35:54
Log in (anonymous is fine) to add a comment.