dealing with very long paths and names

Jonathan M Davis newsgroup.d at jmdavisprog.com
Fri Sep 14 21:16:31 UTC 2018


On Friday, September 14, 2018 2:52:42 PM MDT H. S. Teoh via Digitalmars-d-
learn wrote:
> On Fri, Sep 14, 2018 at 07:05:35PM +0000, Basile B. via Digitalmars-d-
learn wrote:
> > On Friday, 14 September 2018 at 17:59:38 UTC, Josphe Brigmo wrote:
> > > Seems to break dirEntries when trying to deal with long pathnames(>
> > > 512) on windows.
> > >
> > > It's a strange error because it just fails with access denied or
> > > missing file.
> >
> > The bug is known, see https://issues.dlang.org/show_bug.cgi?id=8967
>
> Whoa.  After seeing the insane mess that is the Windows pathname syntax,
> I'm so glad I code on Linux instead!

Yeah, though if you write cross-platform applications or libraries (and
ideally, most applications and libraries would be platform-agnostic), you
can't necessarily avoid all of the Windows insanity, even if you yourself
use a platform without those problems.

- Jonathan M Davis





More information about the Digitalmars-d-learn mailing list