From b02391185d69f22b09557b1caf725ad7eff5eb6e Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 2 Apr 2002 21:32:15 +0000 Subject: [PATCH] added call to tzset to activate TZ settings -- Paul A Vixie git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@112 a5681a0c-68f1-0310-ab6d-d61299d08faa --- bindings/perl-shared/RRDs.xs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/perl-shared/RRDs.xs b/bindings/perl-shared/RRDs.xs index d8eef7e..d567d07 100644 --- a/bindings/perl-shared/RRDs.xs +++ b/bindings/perl-shared/RRDs.xs @@ -5,6 +5,7 @@ extern "C" { #include "EXTERN.h" #include "perl.h" #include "XSUB.h" +#include #ifdef __cplusplus } @@ -138,6 +139,7 @@ rrd_graph(...) } optind=0; opterr=0; rrd_clear_error(); + tzset(); rrd_graph(items+1,argv,&calcpr,&xsize,&ysize); for (i=0; i < items; i++) { free(argv[i+1]); -- 2.11.0