* 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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user