[dmd-beta] Remaining regressions

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Feb 12 13:39:03 PST 2013


On 2/12/13, Walter Bright <walter at digitalmars.com> wrote:
> 4 of them:
>
> http://d.puremagic.com/issues/buglist.cgi?query_format=advanced&bug_severity=regression&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED

9444 seems easy to fix. Someone replaced this in 2.058:

errnoEnforce(.pclose(p.handle) == 0,
                        "Could not close pipe `"~p.name~"'");

with this in 2.059:

errnoEnforce(.pclose(_p.handle) != -1,
        "Could not close pipe `"~_name~"'");

Which is OK, but we need a check for '0' in the call in 'shell', and change:

f.popen(cmd, "r");

to:

errnoEnforce(f.popen(cmd, "r") == 0);

I'll take over.


More information about the dmd-beta mailing list