[Issue 8967] dirEntries throws when encountering a "long path" on windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 21 21:24:32 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8967
Vladimir Panteleev <thecybershadow at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thecybershadow at gmail.com
--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2012-12-21 21:24:30 PST ---
I'm not sure whether the standard library should be adding the \\?\ prefix
internally. If we are to change dirEntries, then we should also change all I/O
routines that deal with paths. And even then, the resulting paths may not be
usable by other components (used directly in the user's program), such as OS or
C functions, and external programs.
To work around this problem, the user could also use a function such as the one
here [1], and pass path strings through it at the point where they enter the
program's I/O logic layer.
[1]: https://github.com/CyberShadow/RABCDAsm/blob/master/common.d#L25
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list