* cygrun.c (main): Fix exit code so that it reflects UNIX style.

* winsup.api/ltp/fork04.c (setup): Accommodate change in putenv declaration.
This commit is contained in:
Christopher Faylor
2005-01-10 04:13:39 +00:00
parent a6888c92d9
commit 76eb619239
3 changed files with 9 additions and 1 deletions

View File

@@ -63,5 +63,7 @@ main (int argc, char **argv)
CloseHandle (pi.hProcess);
CloseHandle (pi.hThread);
if (ec > 0xff)
ec >>= 8;
return ec;
}