Ignore:
Timestamp:
Feb 19, 2007, 11:54:45 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Small typo fix for mondorestore man page (reported by petes-bugs_at_thegoldenear.org)
  • mondo ChangeLog is now UTF-8
  • New tests for mr_strip_spaces
  • Some attempts to remove valgrind errors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-archive.c

    r1180 r1186  
    345345
    346346    if (bkpinfo->compression_level > 0) {
    347         mr_asprintf(&tmp, "%s/do-not-compress-these", g_mondo_home);
    348         //       -b %ld, TAPE_BLOCK_SIZE
    349347        mr_asprintf(&zipparams, "-Z -P %s -G %d -T 3k", bkpinfo->zip_exe,
    350348                 bkpinfo->compression_level);
     349        mr_asprintf(&tmp, "%s/do-not-compress-these", g_mondo_home);
    351350        if (does_file_exist(tmp)) {
    352             mr_asprintf(&tmp1, "%s -E %s", zipparams, tmp);
    353             mr_free(zipparams);
    354             zipparams = tmp1;
     351            mr_asprintf(&tmp1, " -E +%s", tmp);
     352            mr_strcat(zipparams, tmp1);
     353            mr_free(tmp1);
    355354        } else {
    356355            mr_msg(3, "%s not found. Cannot exclude zipfiles, etc.", tmp);
     
    15241523    *p_next_set_to_archive = 0;
    15251524    log_to_screen("Archiving regular files");
    1526     mr_msg(5, "Go, Shorty. It's your birthday.");
    15271525    open_progress_form(_("Backing up filesystem"),
    15281526                       _("I am backing up your live filesystem now."),
     
    15301528                       _("Working..."),
    15311529                       get_last_filelist_number(bkpinfo) + 1);
    1532 
    1533     mr_msg(5, "We're gonna party like it's your birthday.");
    15341530
    15351531    srand((unsigned int) getpid());
Note: See TracChangeset for help on using the changeset viewer.