Re: dirEntries returns relative, not absolute paths

2018-02-06 Thread Timothee Cour via Digitalmars-d-learn
https://github.com/dlang/phobos/pull/6133 On Tue, Feb 6, 2018 at 1:40 PM, Jonathan M Davis via Digitalmars-d-learn wrote: > On Tuesday, February 06, 2018 18:58:43 number via Digitalmars-d-learn wrote: >> https://dlang.org/phobos/std_file.html#dirEntries >> >>

Re: dirEntries returns relative, not absolute paths

2018-02-06 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, February 06, 2018 18:58:43 number via Digitalmars-d-learn wrote: > https://dlang.org/phobos/std_file.html#dirEntries > > >> The name of each iterated directory entry contains the > >> absolute path. > > it seems to be absolute only if the specified path is absolute, > or always

dirEntries returns relative, not absolute paths

2018-02-06 Thread number via Digitalmars-d-learn
https://dlang.org/phobos/std_file.html#dirEntries The name of each iterated directory entry contains the absolute path. it seems to be absolute only if the specified path is absolute, or always relative to the parent dir of the specified path. import std.stdio;import std.stdio; void main()