提交 eca7358b 编写于 作者: D Dr. Stephen Henson

Additional error checking.

上级 da5e9871
......@@ -56,7 +56,9 @@ perl util\mk1mf.pl dll %ASM% %TARGET% >ms\ntdll.mak
@if ERRORLEVEL 1 goto error
nmake -f ms\ntdll.mak clean
@if ERRORLEVEL 1 goto error
nmake -f ms\ntdll.mak
@if ERRORLEVEL 1 goto error
nmake -f ms\ntdll.mak install
@if ERRORLEVEL 1 goto error
......
......@@ -49,11 +49,11 @@ while (<IN>)
my ($from, $to);
#rename target temporarily
rename($target, "tmptarg.s") || die "Can't rename $target\n";
rename($target, "tmptarg.s") || die "Can't rename $target";
#edit target
open IN,"tmptarg.s";
open OUT, ">$target";
open(IN,"tmptarg.s") || die "Can't open temporary file";
open(OUT, ">$target") || die "Can't open output file $target";
while (<IN>)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册