Commit 5f01b6dd authored by Simon Marlow's avatar Simon Marlow

Fix off-by-one (#7227)

parent c19f2e32
......@@ -547,6 +547,7 @@ void setupRtsFlags (int *argc, char *argv[],
procRtsOpts(rts_argc0, rtsOptsEnabled);
appendRtsArg((char *)0);
rts_argc--; // appendRtsArg will have bumped it for the NULL (#7227)
normaliseRtsOpts();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment