[bug] invalid symlinks created when destination directory is a symlink

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[bug] invalid symlinks created when destination directory is a symlink

Paolo Bonzini-3
Issue status update for
http://smalltalk.gnu.org/node/628
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/628

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  bonzinip
 Updated by:   bonzinip
 Status:       active

$ mkdir t1
$ mkdir t1/t2
$ ln -sf t1/t2 t2
$ ./gst
GNU Smalltalk ready

st> (File name: 'XSL.star') symlinkAs: 't2/XSL.star'
<File /home/pbonzini/devel/gst/+build/XSL.star>
st> ^Z
$ ls -l t2/
total 0

Reported by Jan Luebbe.
lrwxrwxrwx 1 pbonzini pbonzini 11 Nov 28 17:59 XSL.star -> ../XSL.star

The right path should be ../../XSL.star (because the symlink is from
t1/t2/XSL.star).



_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk