diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-03 09:47:29 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-03 10:07:08 +0100 |
commit | 38acf11889c1e1da2610c8e05f1f380f2a2a1ae6 (patch) | |
tree | 620bcadc424919895b17b5984eb3e3d1bdaa600d /common/tests/test-buffer.c | |
parent | 7823c9ddcb18b5155b3cc0e9d9f57ad0333d5eba (diff) |
Use putenv() instead of setenv()
Since older operating systems don't support setenv()
Diffstat (limited to 'common/tests/test-buffer.c')
-rw-r--r-- | common/tests/test-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tests/test-buffer.c b/common/tests/test-buffer.c index 9db5f83..baf7b73 100644 --- a/common/tests/test-buffer.c +++ b/common/tests/test-buffer.c @@ -192,7 +192,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; - setenv ("P11_KIT_STRICT", "1", 1); + putenv ("P11_KIT_STRICT=1"); p11_debug_init (); SUITE_ADD_TEST (suite, test_init_uninit); |