projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
increasse revision of shared library number since the library source code has changed
[rrdtool.git]
/
src
/
rrd_xport.c
diff --git
a/src/rrd_xport.c
b/src/rrd_xport.c
index
2b161eb
..
19c2067
100644
(file)
--- a/
src/rrd_xport.c
+++ b/
src/rrd_xport.c
@@
-1,5
+1,5
@@
/****************************************************************************
/****************************************************************************
- * RRDtool 1.2
rc2
Copyright by Tobi Oetiker, 1997-2005
+ * RRDtool 1.2
.0
Copyright by Tobi Oetiker, 1997-2005
****************************************************************************
* rrd_xport.c export RRD data
****************************************************************************/
****************************************************************************
* rrd_xport.c export RRD data
****************************************************************************/
@@
-10,7
+10,7
@@
#include "rrd_graph.h"
#include "rrd_xport.h"
#include "rrd_graph.h"
#include "rrd_xport.h"
-#if
def WIN32
+#if
defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
#include <io.h>
#include <fcntl.h>
#endif
#include <io.h>
#include <fcntl.h>
#endif
@@
-46,6
+46,7
@@
rrd_xport(int argc, char **argv, int *xsize,
time_t start_tmp=0,end_tmp=0;
struct rrd_time_value start_tv, end_tv;
char *parsetime_error = NULL;
time_t start_tmp=0,end_tmp=0;
struct rrd_time_value start_tv, end_tv;
char *parsetime_error = NULL;
+ optind = 0; opterr = 0; /* initialize getopt */
rrd_graph_init(&im);
rrd_graph_init(&im);