[Issue 15776] symlink documentation wrong: "Relative paths are relative to the current working directory"
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Mar 7 02:05:49 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15776
ag0aep6g at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ag0aep6g at gmail.com
Hardware|x86 |All
OS|Mac OS X |All
--- Comment #2 from ag0aep6g at gmail.com ---
(In reply to Timothee Cour from comment #0)
> doc says, for symlink(original, link):
>
> Relative paths are relative to the current working directory, not the files
> being linked to or from.
>
> it should be:
> link is relative to cwd (if relative), original is relative to link (if
> relative), so that in the example below:
Already addressed by
<https://github.com/D-Programming-Language/phobos/pull/3966>. See
<http://dlang.org/phobos-prerelease/std_file.html#.symlink> for the new
documentation.
(In reply to Timothee Cour from comment #1)
> Also, docs should specify precisely what happens when link ends with a '/'
This is still undocumented.
--
More information about the Digitalmars-d-bugs
mailing list