D archeology

"Luís "Luís
Fri Dec 20 17:50:49 PST 2013


On Saturday, 21 December 2013 at 01:33:53 UTC, H. S. Teoh wrote:
> Has DMD always had -J for string imports? 'cos if not, I'd be 
> fearful of
> somebody using string imports to view the contents of arbitrary 
> files.

It fails to import the source code for the test file, so I guess 
it's safe?

     
http://www.luismarques.eu/d/archeology/EAAF3C6C36A7C00F9A003EAD7C02789853389539
     
http://www.luismarques.eu/d/archeology/A75AEA5BBAFC3DED20BCAAF12E0C5664F1F09E1B

(I had assumed string imports always had -J because that was the 
only option that made sense, and Walter is competent :-)


More information about the Digitalmars-d mailing list