Merge pull request #238 from wilzbach/remove-stdc

Remove deprecated stdc import
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
This commit is contained in:
The Dlang Bot 2017-07-03 01:40:48 +02:00 committed by GitHub
commit bc13c57460

2
rdmd.d
View file

@ -561,7 +561,7 @@ private int run(string[] args, string output = null, bool replace = false)
{ /* Windows doesn't have exec, fall back to spawnProcess+wait */ }
else
{
import std.c.process;
import std.process : execv;
auto argv = args.map!toStringz.chain(null.only).array;
return execv(argv[0], argv.ptr);
}