* We check in file_list hash if fname have been backuped
* the last time. After we can compare Lstat field.
* Full Lstat usage have been removed on 6612
+ *
+ * Returns: true if file has changed (must be backed up)
+ * false file not changed
*/
bool accurate_check_file(JCR *jcr, FF_PKT *ff_pkt)
{
*/
if (elt.mtime != ff_pkt->statp.st_mtime) {
// Jmsg(jcr, M_SAVED, 0, _("%s st_mtime differs\n"), fname);
- Dmsg3(dbglvl, "%s st_mtime differs (%i!=%i)\n",
- fname, elt.mtime, ff_pkt->statp.st_mtime);
+ Dmsg3(dbglvl, "%s st_mtime differs (%lld!=%lld)\n",
+ fname, elt.mtime, (utime_t)ff_pkt->statp.st_mtime);
stat = true;
} else if (!(ff_pkt->flags & FO_MTIMEONLY)
&& (elt.ctime != ff_pkt->statp.st_ctime)) {
}
accurate_mark_file_as_seen(jcr, &elt);
-// Dmsg2(dbglvl, "accurate %s = %i\n", fname, stat);
+// Dmsg2(dbglvl, "accurate %s = %d\n", fname, stat);
bail_out:
unstrip_path(ff_pkt);
General:
14Jul09
+kes Tweak debug print in accurate
kes Apply patch in bug #1315 by McMichaeli that fixes scripts/logwatch
kes Add more output when spooling and no space left
ebl Fix postgresql driver bug that displayed <NULL> rows from time to time.