Changeset 1548 in MondoRescue for branches/stable/mondo/src/common
- Timestamp:
- Jul 24, 2007, 1:39:36 AM (18 years ago)
- Location:
- branches/stable/mondo/src/common
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-devices.c
r1543 r1548 1930 1930 ("Exclude paths", 1931 1931 "Please enter paths which you do NOT want to backup. Separate them with spaces. NB: /tmp and /proc are always excluded. :-) Just hit 'Enter' if you want to do a full system backup.", 1932 bkpinfo->exclude_paths, MAX_STR_LEN)) {1932 bkpinfo->exclude_paths, (4*MAX_STR_LEN)-1)) { 1933 1933 log_to_screen("User has chosen not to backup the PC"); 1934 1934 finish(1); -
branches/stable/mondo/src/common/libmondo-filelist.c
r1543 r1548 1525 1525 1526 1526 malloc_string(sz_datefile); 1527 malloc_string(exclude_paths); 1527 if (!(exclude_paths = malloc(8*MAX_STR_LEN))) { 1528 fatal_error("Cannot malloc exclude_paths"); 1529 } 1528 1530 malloc_string(g_skeleton_filelist); 1529 1531 // The pathname to the skeleton filelist, used to give better progress reporting for mondo_makefilelist(). … … 1583 1585 mr_msg(2, "include_paths = '%s'", include_paths); 1584 1586 mr_msg(1, "Calculating filelist"); 1585 s printf(exclude_paths," %s %s %s %s %s %s . .. \1587 snprintf(exclude_paths, (size_t)8*MAX_STR_LEN," %s %s %s %s %s %s . .. \ 1586 1588 " MNT_CDROM " " MNT_FLOPPY " /media \ 1587 1589 /proc /sys /tmp /var/log/lastlog /root/images/mondo " MINDI_CACHE " " MONDO_CACHE, excp, call_program_and_get_last_line_of_output("locate /win386.swp 2> /dev/null"), call_program_and_get_last_line_of_output("locate /hiberfil.sys 2> /dev/null"), call_program_and_get_last_line_of_output("locate /pagefile.sys 2> /dev/null"), (tmpdir[0] == '/' && tmpdir[1] == '/') ? (tmpdir + 1) : tmpdir, (scratchdir[0] == '/' && scratchdir[1] == '/') ? (scratchdir + 1) : scratchdir); -
branches/stable/mondo/src/common/libmondo-fork.c
r1344 r1548 6 6 #include "mr_msg.h" 7 7 #include "mr_str.h" 8 #include "mr_gettext.h" 8 9 9 10 #include "mondostructures.h" -
branches/stable/mondo/src/common/libmondo-mountlist.c
r1440 r1548 17 17 #include "libmondo-string-EXT.h" 18 18 #include "newt-specific-EXT.h" 19 19 20 #include "mr_mem.h" 20 21 #include "mr_msg.h" 22 #include "mr_gettext.h" 21 23 22 24 /*@unused@*/ -
branches/stable/mondo/src/common/libmondo-stream.c
r1424 r1548 16 16 #include "mr_msg.h" 17 17 #include "mr_list.h" 18 #include "mr_gettext.h" 18 19 19 20 #include "mondostructures.h" … … 1352 1353 int write_backcatalog_to_tape(struct s_bkpinfo *bkpinfo) 1353 1354 { 1354 int i, last,res = 0;1355 int res = 0; 1355 1356 char *fname = NULL; 1356 1357 struct mr_list_elt *elt = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.