Use ACL instead of AXE for utilities
[gnucomo.git] / src / gcm_input / logrunner.cpp
index 66381d5..d3aaa48 100644 (file)
@@ -40,7 +40,7 @@
 #include <fstream>
 #include <list>
 
-#include <AXE/String.h>
+#include <String.h>
 
 #include "gnucomo_config.h"
 
@@ -121,8 +121,10 @@ public:
 static std::list<LogFile>     logs_to_run;
 
 String confname = "gnucomo";
-static char* statusname = "/var/lib/logrunner.status";
-static char* newstatusname = "/var/lib/logrunner.status.new";
+static char *statusname;
+static char *newstatusname;
+static char default_statusname[] = "/var/lib/logrunner.status";
+static char default_newstatusname[] = "/var/lib/logrunner.status.new";
 
 static const char *hostname = NULL;
 static int port = 2996;         /* random magic number */
@@ -505,6 +507,8 @@ void process_options(int argc, char* argv[])
    const char* const options = "1c:l:p:s:v";
    int opt;
 
+   statusname    = default_statusname;
+   newstatusname = default_newstatusname;
    String logfilename;
 
    opt = getopt(argc, argv, options);