projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The patch fixs rrdtools behaviour when presented with trunkated rrd files.
[rrdtool.git]
/
src
/
rrd_getopt1.c
diff --git
a/src/rrd_getopt1.c
b/src/rrd_getopt1.c
index
4c406e9
..
075bc8d
100644
(file)
--- a/
src/rrd_getopt1.c
+++ b/
src/rrd_getopt1.c
@@
-19,11
+19,6
@@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
\f
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
\f
-#ifdef HAVE_CONFIG_H
-#include "../rrd_config.h"
-#endif
-
-#include "rrd_getopt.h"
#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
@@
-33,6
+28,12
@@
#endif
#endif
#endif
#endif
+#ifdef HAVE_CONFIG_H
+#include "../rrd_config.h"
+#endif
+
+#include "rrd_getopt.h"
+
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not