From 8474ccb3d960b7009d4b8bcb58d6ae846fa477f1 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 22 Feb 2008 07:32:53 +0000 Subject: [PATCH] ebl bug fix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6460 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/testing/project-accurate-backup.patch2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bacula/patches/testing/project-accurate-backup.patch2 b/bacula/patches/testing/project-accurate-backup.patch2 index f4c1976e8d..4b969c8b64 100644 --- a/bacula/patches/testing/project-accurate-backup.patch2 +++ b/bacula/patches/testing/project-accurate-backup.patch2 @@ -1077,11 +1077,13 @@ Index: src/findlib/find_one.c - ((ff_pkt->flags & FO_MTIMEONLY) || - ff_pkt->statp.st_ctime < ff_pkt->save_time))) { + if (check_changes(jcr, ff_pkt)) { ++ ff_pkt->type = FT_DIRBEGIN; ++ } else { /* Incremental option, directory entry not changed */ - ff_pkt->type = FT_DIRNOCHG; +- } else { +- ff_pkt->type = FT_DIRBEGIN; + ff_pkt->type = FT_DIRNOCHG; - } else { - ff_pkt->type = FT_DIRBEGIN; } + /* We have set st_rdev to 1 if it is a reparse point, otherwise 0 */ -- 2.39.5