[Issue 14713] dmd -ofpath/to/bar calls mkdir -p to create a file anywhere
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sat Jan  7 18:54:02 PST 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=14713
--- Comment #5 from Timothee Cour <timothee.cour2 at gmail.com> ---
(In reply to Luís Marques from comment #4)
> (In reply to Vladimir Panteleev from comment #3)
> > Good points. However, at this point it's unlikely the current behavior will
> > be changed (unless e.g. new arguments surface that show this to be a
> > security problem) as it might break existing build scripts.
> 
> If this were to be changed, would you include a -p switch to allow deep path
> creations? If so, then how about outputting a warning when a deep path is
> created and -p was not specified? Later, this could become an error, instead
> of a warning.
That would be a good deprecation path, yes.
--
    
    
More information about the Digitalmars-d-bugs
mailing list