     return return_bsr;
  }
  
+@@ -360,9 +371,9 @@
+ static int match_all(BSR *bsr, DEV_RECORD *rec, VOLUME_LABEL *volrec,
+                      SESSION_LABEL *sessrec, bool done, JCR *jcr)
+ {
+-   Dmsg0(050, "Enter match_all\n");
++   Dmsg1(050, "Enter match_all bsr=0x%p\n", bsr);
+    if (bsr->done) {
+-//    Dmsg0(dbglevel, "bsr->done set\n");
++      Dmsg1(dbglevel, "bsr->done set bsr=0x%p\n", bsr);
+       goto no_match;
+    }
+    if (!match_volume(bsr, bsr->volume, volrec, 1)) {
 @@ -386,8 +397,6 @@
           rec->Block, bsr->volblock->sblock, bsr->volblock->eblock);
        goto no_match;

    if (!volblock) {
       return 1;                       /* no specification matches all */
    }
@@ -622,8 +627,10 @@
    if (rec->state & REC_ISTAPE) {
       return 1;                       /* All File records OK for this match */
    }

          }
          print_ls_output(jcr, attr);
          num_files++;
Index: src/stored/parse_bsr.c
===================================================================
--- src/stored/parse_bsr.c	(révision 8116)
+++ src/stored/parse_bsr.c	(copie de travail)
@@ -190,6 +190,7 @@
    for (bsr=root_bsr; bsr; bsr=bsr->next) {
       bsr->root = root_bsr;
    }
+   dump_bsr(root_bsr, true);
    return root_bsr;
 }
 
Index: src/stored/bscan.c
===================================================================
--- src/stored/bscan.c	(révision 8146)
