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-attrs.c | |
parent | 7823c9ddcb18b5155b3cc0e9d9f57ad0333d5eba (diff) |
Use putenv() instead of setenv()
Since older operating systems don't support setenv()
Diffstat (limited to 'common/tests/test-attrs.c')
-rw-r--r-- | common/tests/test-attrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tests/test-attrs.c b/common/tests/test-attrs.c index ccbb801..09d0ace 100644 --- a/common/tests/test-attrs.c +++ b/common/tests/test-attrs.c @@ -575,7 +575,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_equal); |