[Issue 17650] [REG v2.075.0 b1-b4] std.getopt range violation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 15 12:54:35 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17650

--- Comment #8 from Jon Degenhardt <jrdemail2000-dlang at yahoo.com> ---
I'm preparing a PR to fix the underlying issue. A concern for the general
release is that a single hyphen is often used to represent standard input in
command line args. e.g.

$ cat file.txt | my_d_program --file - > out.txt

This will trigger the bounds check error if my_d_program is compiled in safe
mode.

--


More information about the Digitalmars-d-bugs mailing list