From: Wouter Wijngaards Date: Tue, 13 Jul 2010 14:05:06 +0000 (+0000) Subject: putenv more portable X-Git-Tag: release-1.4.6rc1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d437ccb1413c4c98b2c84230243b3ec5c53c27c4;p=thirdparty%2Funbound.git putenv more portable git-svn-id: file:///svn/unbound/trunk@2195 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/testcode/testbound.c b/testcode/testbound.c index c28b8bca7..0f12c7996 100644 --- a/testcode/testbound.c +++ b/testcode/testbound.c @@ -264,7 +264,7 @@ main(int argc, char* argv[]) struct replay_scenario* scen = NULL; /* we do not want the test to depend on the timezone */ - (void)setenv("TZ", "UTC", 1); + (void)putenv("TZ=UTC"); log_init(NULL, 0, NULL); log_info("Start of %s testbound program.", PACKAGE_STRING);