Bug 15220 – [REG2.065] std.getopt parses -o=value as "=value"

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-10-18T00:20:00Z
Last change time
2016-01-03T14:20:03Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2015-10-18T00:20:39Z
///////////////// test.d ///////////////// import std.getopt; void main() { string[] args = ["program", "-o=str"]; string o; getopt(args, "o", &o); assert(o == "str"); } ////////////////////////////////////////// Introduced in https://github.com/D-Programming-Language/phobos/pull/1779 This broke invoking catdoc.d from dlang.org's win32.mak.
Comment #1 by dlang-bugzilla — 2015-10-18T00:44:49Z
Comment #2 by github-bugzilla — 2015-10-18T13:17:42Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/3c7c3ecfd64f2b52007c49759b49c022d40b16a8 fix Issue 15220 - [REG2.065] std.getopt parses -o=value as "=value" https://github.com/D-Programming-Language/phobos/commit/3612fdab0eb50a9bb899e803f1c7aaa17d757e70 Merge pull request #3727 from CyberShadow/pull-20151018-004338 fix Issue 15220 - [REG2.065] std.getopt parses -o=value as "=value"
Comment #3 by github-bugzilla — 2015-11-16T00:02:04Z
Comment #4 by github-bugzilla — 2016-01-03T14:14:49Z
Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/3c7c3ecfd64f2b52007c49759b49c022d40b16a8 fix Issue 15220 - [REG2.065] std.getopt parses -o=value as "=value" https://github.com/D-Programming-Language/phobos/commit/3612fdab0eb50a9bb899e803f1c7aaa17d757e70 Merge pull request #3727 from CyberShadow/pull-20151018-004338
Comment #5 by github-bugzilla — 2016-01-03T14:20:03Z