[rrd-developers] Re: PATCH: rrd_graph / setlocale / librrd
Stanislav Sinyagin
ssinyagin at yahoo.com
Thu Apr 24 09:38:51 MEST 2003
Hi,
and what about the Perl binding? Should it be patched too?
--- Peter Stamfest <peter at stamfest.at> wrote:
> I just stumbled across a possible problem in rrd_graph. That function uses
> to call tzset and setlocale. When using librrd this is not desirable, as
> this might override any settings done by the application linking
> with librrd (language bindings come to mind). Besides, it is possibly not
> thread-safe ;-) ).
>
> Here is a patch to move these calls into the rrdtool binary and removing
> them from librrd.
>
> This adds a new requirement for software using librrd: tzset and setlocale
> have to be called from the calling application.
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list