]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Thread safety: Replace getopt by optparse 679/head
authorJean-Michel Vourgère <nirgal@debian.org>
Sun, 1 Nov 2015 15:40:45 +0000 (16:40 +0100)
committerJean-Michel Vourgère <nirgal@debian.org>
Mon, 2 Nov 2015 12:55:41 +0000 (13:55 +0100)
commit83530d3e43cebc32da157733d35c60bf4bb098da
tree5d93ab57b5adfc286f6cae7263757ce279f3daff
parentcf0df441d9d771b05a994e67c1054d59d293c78c
Thread safety: Replace getopt by optparse

* Added optparse.h to src/rrd_tool.h.

* rrd_graph.[ch]: The 3rd char* parameter of the "*_conv" functions was added a const modifier.

* rrd_tune.c: The 3rd char* parameter of the "set_*" functions was added a const modifier.

* rrd_graph_options now takes an extra "options*" parameter, so that caller can use options.argc and options.argv

* Refresh WIN32 build tips
20 files changed:
WIN32-BUILD-TIPS.txt
bindings/python/rrdtoolmodule.c
src/Makefile.am
src/rrd_cgi.c
src/rrd_create.c
src/rrd_daemon.c
src/rrd_dump.c
src/rrd_fetch.c
src/rrd_first.c
src/rrd_flushcached.c
src/rrd_graph.c
src/rrd_graph.h
src/rrd_info.c
src/rrd_last.c
src/rrd_lastupdate.c
src/rrd_restore.c
src/rrd_tool.h
src/rrd_tune.c
src/rrd_update.c
src/rrd_xport.c