digitalmars.D.bugs - [Issue 10773] New: std.algorithm.splitter produces infinite range with empty delimiter
- d-bugmail puremagic.com (25/25) Aug 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10773
- d-bugmail puremagic.com (10/10) Aug 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10773
- d-bugmail puremagic.com (11/11) Aug 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10773
- d-bugmail puremagic.com (11/11) Aug 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10773
http://d.puremagic.com/issues/show_bug.cgi?id=10773 Summary: std.algorithm.splitter produces infinite range with empty delimiter Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: hsteoh quickfur.ath.cx Calling std.algorithm.splitter with a non-empty string and an empty delimiter causes it to produce an infinite range of empty strings. This, in turn, causes std.array.split to get into an infinite loop when it is called with an empty delimiter. When the delimiter is empty, std.algorithm.splitter should return a range containing 1-element ranges of each element in the original range. (Cf. Perl's split(//, "string").) At the very least, std.array.split should not have an infinite loop. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 07 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10773 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/phobos/pull/1456 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 07 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10773 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/9fab541993c846fd5ddffedfa4a2014634b88cfc Fix issue 10773. https://github.com/D-Programming-Language/phobos/commit/395b72204ebc62f2788ed307f002824cbebaccdd Fix issue 10773. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 09 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10773 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed in git HEAD. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 09 2013