#include <sys/stat.h>
+
+#include "rrd_tool.h"
+
#ifdef WIN32
#include <io.h>
#include <fcntl.h>
#include <locale.h>
#endif
-#include "rrd_tool.h"
-
#include "rrd_graph.h"
#include "rrd_graph_helper.h"
conv_if(PNG,IF_PNG)
conv_if(SVG,IF_SVG)
conv_if(EPS,IF_EPS)
+ conv_if(PDF,IF_PDF)
return (-1);
}
ptr++;
n++;
if (*ptr == '\0') return 1;
+ else if (*ptr == ' ') ptr++;
+ else if (*ptr == '-') ptr++;
+ else if (*ptr == '+') ptr++;
if (*ptr == 'e' || *ptr == 'f') {
ptr++;
} else { return 1; }