1 Title: First accepted patch for DMD(FE)
2 Tags: en, d, patch, string import, dmd, dmdfe
4 Some time ago I wrote a partial patch to fix DMD__\ 's `issue 3420`__:
6 __ http://www.dsource.org/projects/dmd/
7 __ http://d.puremagic.com/issues/show_bug.cgi?id=3420
9 Allow string import of files using subdirectories
13 const data = import("dir/data.txt");
15 Specifying -J. for DMD 1.041 is sufficient to allow this to compile.
17 I couldn't find an option for DMD 1.042 and newer which would allow this to
20 It's a partial patch because it's implemented only for Posix OSs. The patch
21 passed unnoticed until `changeset 389`__, when the restrictions on string
22 imports became even more evident, and I `commented the issue`__ in the `DMD
23 internals ML`__. Fortunately Walter accepted the patch; well *accept* might be
24 a very strong word, since Walter never really *accepts* a patch, he always
25 write a `new patch`__ based on `the submitted one`__, don't even dream on
26 getting some feedback about it.
28 __ http://www.dsource.org/projects/dmd/changeset/389
29 __ http://permalink.gmane.org/gmane.comp.lang.d.dmd.devel/15
30 __ http://lists.puremagic.com/mailman/listinfo/dmd-internals
31 __ http://www.dsource.org/projects/dmd/changeset/395
32 __ http://d.puremagic.com/issues/attachment.cgi?id=520
34 But well, that's how he works. At least now in Posix (he said he didn't find
35 a way to do this in Windows) there are no silly restrictions on string imports,
36 without sacrificing security =)
39 .. vim: set et sw=3 sts=3 :