digitalmars.D.bugs - [Issue 16443] New: std.getopt: segmentation fault with empty string
- via Digitalmars-d-bugs (28/28) Aug 28 2016 https://issues.dlang.org/show_bug.cgi?id=16443
https://issues.dlang.org/show_bug.cgi?id=16443 Issue ID: 16443 Summary: std.getopt: segmentation fault with empty string option Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: deschenes.j.m gmail.com When using the following: ------------------------- import std.getopt; void main(string[] args) { bool error_here; auto information = getopt( args, "", &error_here, ); } ----------------------- Will result in a segmentation fault during execution. --
Aug 28 2016