[AGENT++] For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'

Jochen Katz katz at agentpp.com
Mon Aug 20 14:03:32 CEST 2018


Hi,

> Most of the reported points are related to narrowing scope of 
> variables which in not that much of improvement.

nevertheless I will have a look at all issues reported by
Claus/cppcheck. The strange thing is, that I use cppcheck at work, but
never used it for snmp++/agent++...

> Nevertheless, it would be nice to have it as a safeguard. While
> these tools can't guarantee much, they can detect issues which would 
> otherwise remain undetected in future developments.

Yes, the localtime() usage is a good example.

> As a side-note, is there any plan to move the open-source parts of 
> Agent++ to a public repository like Github? That would make the 
> contribution much easier. 

Frank will have to answer this question...

Regards,
  Jochen




More information about the AGENTPP mailing list