* 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

@@ -165,7 +165,7 @@ setup()
tst_tmpdir();
/* add a variable to the environment */
putenv("TESTPROG=FRKTCS04");
putenv(strdup("TESTPROG=FRKTCS04"));
/* Pause if that option was specified */
TEST_PAUSE;