Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cs,lua] FileSystem.fullPath does not resolve symlinks #8215

Open
1 task
Aurel300 opened this issue Apr 25, 2019 · 1 comment
Open
1 task

[cs,lua] FileSystem.fullPath does not resolve symlinks #8215

Aurel300 opened this issue Apr 25, 2019 · 1 comment
Labels
feature-filesystem platform-cs Everything related to c# platform-lua Everything related to Lua
Milestone

Comments

@Aurel300
Copy link
Member

Aurel300 commented Apr 25, 2019

class Symlink {
  static function main() {
    trace(sys.FileSystem.fullPath("test-symlink"));
  }
}
$ pwd
/some/place
$ mkdir example-dir
$ ln -s example-dir test-symlink
$ haxe --main Symlink --cs out
$ mono --version
Mono JIT compiler version 3.2.5 (tarball Mon Dec  9 11:46:29 PST 2013)
...
$ mono out/bin/Symlink.exe
/some/place/test-symlink
$ haxe --main Symlink --lua out.lua
$ lua out.lua
/some/place/test-symlink

(Expected output would be /some/place/example-dir)

Once fixed:

  • re-enable the tests marked with this issue number in tests/sys/src/TestUnicode.hx
@Aurel300 Aurel300 added platform-cs Everything related to c# feature-filesystem labels Apr 25, 2019
@Aurel300 Aurel300 added the platform-lua Everything related to Lua label Apr 25, 2019
@Aurel300 Aurel300 changed the title [cs] FileSystem.fullPath does not resolve symlinks [cs,lua] FileSystem.fullPath does not resolve symlinks Apr 25, 2019
@Simn Simn added this to the Release 4.1 milestone May 22, 2019
@jdonaldson
Copy link
Member

I have a fix checked in for this, but having some difficulty running sys tests right now.

@Simn Simn modified the milestones: Release 4.1, Release 4.2 Feb 19, 2020
@RealyUniqueName RealyUniqueName modified the milestones: Release 4.2, Bugs Dec 14, 2020
@Simn Simn modified the milestones: Bugs, Later Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-filesystem platform-cs Everything related to c# platform-lua Everything related to Lua
Projects
None yet
Development

No branches or pull requests

4 participants