diff options
author | Christopher Faylor <me@cgf.cx> | 2005-01-10 07:13:39 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-01-10 07:13:39 +0300 |
commit | 76eb61923900be1b6fd4f83bb62f48670fe7293c (patch) | |
tree | 627d00526276985411b8cfd0c4ae88e4c368d17b /winsup/testsuite/winsup.api/ltp | |
parent | a6888c92d9a775d8ee8169da23c2d81e8df894d1 (diff) |
* cygrun.c (main): Fix exit code so that it reflects UNIX style.
* winsup.api/ltp/fork04.c (setup): Accommodate change in putenv declaration.
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp')
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/fork04.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/fork04.c b/winsup/testsuite/winsup.api/ltp/fork04.c index 84bac0579..7e8d80f96 100644 --- a/winsup/testsuite/winsup.api/ltp/fork04.c +++ b/winsup/testsuite/winsup.api/ltp/fork04.c @@ -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; |