|
|
@@ -11,7 +11,7 @@ |
|
|
|
#include <unistd.h> |
|
|
|
#include "GBUdb.hpp" |
|
|
|
|
|
|
|
using namespace std; |
|
|
|
namespace cd = codedweller; |
|
|
|
|
|
|
|
//// Handy utilities... |
|
|
|
|
|
|
@@ -334,7 +334,7 @@ void GBUdbDataset::save() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const RuntimeCheck SaneFileSizeCheck("GBUdbDataset::load():SaneFileSizeCheck(SaneGBUdbFileSizeLimit <= FileSize)"); |
|
|
|
const cd::RuntimeCheck SaneFileSizeCheck("GBUdbDataset::load():SaneFileSizeCheck(SaneGBUdbFileSizeLimit <= FileSize)"); |
|
|
|
|
|
|
|
void GBUdbDataset::load() { // Read the GBUdb from disk. |
|
|
|
|
|
|
@@ -509,7 +509,7 @@ bool AlertFor(int count) { |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
RuntimeCheck GoodTimestampLength("GBUdb.cpp:getTimestamp snprintf(...) == CorrectTimestampLength"); |
|
|
|
cd::RuntimeCheck GoodTimestampLength("GBUdb.cpp:getTimestamp snprintf(...) == CorrectTimestampLength"); |
|
|
|
char* getTimestamp(char* TimestampBfr) { // Creates an ISO GMT timestamp. |
|
|
|
|
|
|
|
time_t rawtime; // Get a timer and |