DFLEXE: Update to D2.068

small fix of DFLEXE for @ safe
This commit is contained in:
qchikara 2015-11-06 12:07:29 +09:00
parent 75a0eb40d6
commit ca83d74d67

View file

@ -801,9 +801,9 @@ int main(/+ string[] args +/)
string[] dflcs; string[] dflcs;
if(!optNoDflc) if(!optNoDflc)
foreach(filename; dirEntries(dflsrcdir, SpanMode.shallow)) foreach(de; dirEntries(dflsrcdir, SpanMode.shallow))
if(globMatch(filename, "dflc_*.bat")) if(globMatch(de.name, "dflc_*.bat"))
dflcs ~= filename; dflcs ~= de.name;
//@ //@
scope batf = new BufferedFile(batfilepath, FileMode.OutNew); scope batf = new BufferedFile(batfilepath, FileMode.OutNew);