ThomasMertes / seed7

Source code of Seed7
GNU General Public License v2.0
207 stars 11 forks source link

Correctly handle /./../ sequences in toAbsPath #28

Closed burningrooftop closed 6 months ago

burningrooftop commented 6 months ago

The toAbsPath function does not handle the sequence "/./../" in a path correctly.

For example, if the current directory is "/home/rooftop/test", then

toAbsPath(".", "../file.txt") returns "/home/rooftop/test/file.txt" instead of the expected "/home/rooftop/file.txt".

ThomasMertes commented 6 months ago

Thank you very much.

burningrooftop commented 6 months ago

No worries. Thanks for a fantastic programming language!