Re: [PATCH] Add a new lstat implementation based on Win32 API, and make stat use that implementation too.
From: Johannes Sixt <hidden> Date: 2016-06-15 22:43:32
Robin Rosenberg schrieb:
$ ln -s Makefile x
$ cp x y
$ ls -ld x y
lrwxrwxrwx 1 me me 8 sep 2 23:36 x -> Makefile
-rw-r--r-- 1 me me 32164 sep 2 23:36 y
And if I understand the documentation correctly, then
$ mkdir foo && cd foo
$ cat ../x
x: No such file or directory
Right?
The docs say that symlinks without backslash are relative to the current
directory (!!!).
-- Hannes