]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl bug fix
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 22 Feb 2008 07:32:53 +0000 (07:32 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 22 Feb 2008 07:32:53 +0000 (07:32 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6460 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/testing/project-accurate-backup.patch2

index f4c1976e8de6710349e4a2ea895b062bbc7c5657..4b969c8b64528e33c8594e7fbf06164fb072ee07 100644 (file)
@@ -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 */