Changeset 3205 in MondoRescue for branches/3.2/mondo/src/common/libmondo-filelist.c
- Timestamp:
- Dec 6, 2013, 3:40:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-filelist.c
r3194 r3205 1302 1302 struct dirent *dit; 1303 1303 struct stat statbuf; 1304 char *new ;1304 char *new = NULL; 1305 1305 char *tmp = NULL; 1306 1306 char *dir = NULL; 1307 1307 static int percentage = 0; 1308 1308 char *skip_these = NULL; 1309 char *new_with_pipe ;1309 char *new_with_pipe = NULL; 1310 1310 char *strtmp = NULL; 1311 1311 char *token = NULL; … … 1395 1395 mr_free(find_skeleton_marker); 1396 1396 } 1397 mr_free(dir); 1397 1398 1398 1399 depth++; 1399 1400 1400 // log_msg(0, "Cataloguing %s", dir);1401 1401 mr_asprintf(skip_these, "|%s|", sth); 1402 1402 … … 1455 1455 mr_free(new_with_pipe); 1456 1456 mr_free(skip_these); 1457 mr_free(dir);1458 1457 1459 1458 if (dip) { … … 1583 1582 if ((include_paths != NULL) && (strlen(include_paths) == 0)) { 1584 1583 log_msg(1, "Including only '/' in %s", sz_filelist); 1585 open_and_list_dir("/", exclude_paths, fout, 1586 time_of_last_full_backup); 1584 open_and_list_dir("/", exclude_paths, fout, time_of_last_full_backup); 1587 1585 } else { 1588 1586 p = include_paths; … … 1590 1588 q = next_entry(p); 1591 1589 log_msg(1, "Including %s in filelist %s", q, sz_filelist); 1592 open_and_list_dir(q, exclude_paths, fout, 1593 time_of_last_full_backup); 1590 open_and_list_dir(q, exclude_paths, fout, time_of_last_full_backup); 1594 1591 p += strlen(q); 1595 1592 paranoid_free(q); … … 1652 1649 1653 1650 if (bkpinfo->make_filelist) { 1654 res = 1655 mondo_makefilelist(MONDO_LOGFILE, bkpinfo->tmpdir, 1656 bkpinfo->scratchdir, bkpinfo->include_paths, 1657 bkpinfo->exclude_paths, 1658 bkpinfo->differential, NULL); 1651 res = mondo_makefilelist(MONDO_LOGFILE, bkpinfo->tmpdir, bkpinfo->scratchdir, bkpinfo->include_paths, bkpinfo->exclude_paths, bkpinfo->differential, NULL); 1659 1652 } else { 1660 res = 1661 mondo_makefilelist(MONDO_LOGFILE, bkpinfo->tmpdir, 1662 bkpinfo->scratchdir, NULL, 1663 bkpinfo->exclude_paths, 1664 bkpinfo->differential, 1665 bkpinfo->include_paths); 1653 res = mondo_makefilelist(MONDO_LOGFILE, bkpinfo->tmpdir, bkpinfo->scratchdir, NULL, bkpinfo->exclude_paths, bkpinfo->differential, bkpinfo->include_paths); 1666 1654 } 1667 1655
Note:
See TracChangeset
for help on using the changeset viewer.