extend pragma(msg) with writing to file

kdevel kdevel at vogtner.de
Mon Oct 10 12:59:30 UTC 2022


On Monday, 10 October 2022 at 01:10:42 UTC, Andrey Zherikov wrote:
> What additional security risks do you see if writing has the 
> same restrictions as reading: requires command line option 
> (error out otherwise) and be allowed to create files under 
> specified (by CLI) folder only?

If the context which invokes `dmd -J` already has write 
permission and the source code of the context and the source code 
handed over to dmd is of same origin then none.


More information about the Digitalmars-d mailing list