| 3 |
#include <log4cxx/propertyconfigurator.h> |
#include <log4cxx/propertyconfigurator.h> |
| 4 |
#include "EventReader.h" |
#include "EventReader.h" |
| 5 |
#include <time.h> |
#include <time.h> |
| 6 |
|
#include "../event/yodaversion.h" |
| 7 |
extern "C" { |
extern "C" { |
| 8 |
#include <dirent.h> |
#include <dirent.h> |
| 9 |
} |
} |
| 10 |
|
|
|
|
|
|
|
|
| 11 |
using namespace pamela; |
using namespace pamela; |
| 12 |
using namespace log4cxx; |
using namespace log4cxx; |
| 13 |
using namespace std; |
using namespace std; |
| 22 |
bool multiFile = 0; |
bool multiFile = 0; |
| 23 |
short compression = 3; |
short compression = 3; |
| 24 |
char nomeFileLog[L_tmpnam]; |
char nomeFileLog[L_tmpnam]; |
| 25 |
tmpnam(nomeFileLog); |
mkstemp(nomeFileLog); |
| 26 |
DIR *dirp; |
DIR *dirp; |
| 27 |
char *outDir = ""; |
char *outDir = ""; |
| 28 |
|
|
| 66 |
} |
} |
| 67 |
|
|
| 68 |
if (!strcmp(argv[1], "-version")){ |
if (!strcmp(argv[1], "-version")){ |
| 69 |
cout << "$Name$ $Revision$" << "\n"; |
printf(" Version %i \n",GetYODAver()); |
| 70 |
|
// cout << "$Name: $ $Revision: 6.5 $" << "\n"; |
| 71 |
exit(1); |
exit(1); |
| 72 |
} |
} |
| 73 |
|
|
| 182 |
Run.WriteFiles(); |
Run.WriteFiles(); |
| 183 |
|
|
| 184 |
logger->info("<-------------------------------END UNPACKING------------------------------->\n"); |
logger->info("<-------------------------------END UNPACKING------------------------------->\n"); |
| 185 |
|
printf("Finished, exiting...\n"); |
| 186 |
|
|
| 187 |
//Momentarly suspended the save |
//Momentarly suspended the save |
| 188 |
//system(command.c_str()); |
//system(command.c_str()); |