+ /* see if we already have part of this dump somewhere */
+ if(new->is_split){
+ for(item = disk_hist; item; item = item->next){
+ if (!strcmp(item->date, new->date) &&
+ item->level == new->level && item->is_split){
+ item->tapes = append_to_tapelist(item->tapes, tape, file, isafile);
+ amfree(new);
+ return;
+ }
+ }
+ }
+
+ new->tapes = append_to_tapelist(new->tapes, tape, file, isafile);
+
+ /* prepend this item to the history list, if it's newer */
+ /* XXX this should probably handle them being on the same date with
+ datestamp_uax or something */