projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1) Modified main.cpp to save backup db to a tmp file.
[backups/.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index 2dd8048575903ac09b9214e56538db323c149158..81b3b2c897834c056d7bbd75f4ee98f6c3a73267 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-10,7
+10,7
@@
using namespace std;
static const unsigned int bytes_in_block = 0x800;
using namespace std;
static const unsigned int bytes_in_block = 0x800;
-static const char * dbname = "/var/lib/backups/backups.db";
+static const char * dbname = "/var/lib/backups/backups.db
.tmp
";
unsigned long long read_time( istream &i ) {
string date_string;
unsigned long long read_time( istream &i ) {
string date_string;