Changeset 2227 in MondoRescue for branches/2.2.9/mondo/src/common


Ignore:
Timestamp:
Jun 17, 2009, 2:45:52 PM (15 years ago)
Author:
Bruno Cornec
Message:

Remove the iamhere function (will hopefully suppress valgrind errors at restore time)

Location:
branches/2.2.9/mondo/src/common
Files:
5 edited

Legend:

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

    r2216 r2227  
    14751475                    maintain_collection_of_recent_archives(bkpinfo->tmpdir,
    14761476                                                       storing_afioball_fname);
    1477                     iamhere("Writing EXAT files");
     1477                    log_it("%s","Writing EXAT files");
    14781478                    res +=
    14791479                        write_EXAT_files_to_tape(curr_xattr_list_fname,
     
    19991999    log_msg(1, "--> tmp = '%s'", tmp);
    20002000    if (strstr(tmp, "NTFS")) {
    2001         iamhere("TRUE");
     2001        log_it("%s","TRUE");
    20022002        ret = TRUE;
    20032003    } else {
    2004         iamhere("FALSE");
     2004        log_it("%s","FALSE");
    20052005        ret = FALSE;
    20062006    }
     
    22712271            register_in_tape_catalog(fileset, curr_set_no, -1, curr_afioball_fname);
    22722272            maintain_collection_of_recent_archives(bkpinfo->tmpdir, curr_afioball_fname);
    2273             iamhere("Writing EXAT files");
     2273            log_it("%s","Writing EXAT files");
    22742274            res +=
    22752275                write_EXAT_files_to_tape(curr_xattr_list_fname,
     
    34503450                 media_descriptor_string(g_backup_media_type));
    34513451            chdir("/");
    3452             iamhere("Before calling verification of image()");
     3452            log_it("%s","Before calling verification of image()");
    34533453            if (bkpinfo->backup_media_type == usb) {
    34543454                res += verify_usb_image();
     
    34563456                res += verify_cd_image();
    34573457            }
    3458             iamhere("After calling verification of image()");
     3458            log_it("%s","After calling verification of image()");
    34593459        }
    34603460        if (!res) {
  • branches/2.2.9/mondo/src/common/libmondo-filelist.c

    r2211 r2227  
    513513                "getfacl --all-effective -P %s 2>> %s | gzip -c1 > %s 2>> %s",
    514514                filelist, MONDO_LOGFILE, facl_fname, MONDO_LOGFILE);
    515         iamhere(command);
     515        log_it("%s",command);
    516516        retval = system(command);
    517517        paranoid_free(command);
     
    592592    pout = popen(syscall_pout, "w");
    593593    if (!pout) {
    594         iamhere("Unable to openout to syscall_pout");
     594        log_it("%s","Unable to openout to syscall_pout");
    595595        return (1);
    596596    }
     
    598598    if (!pin) {
    599599        pclose(pout);
    600         iamhere("Unable to openin from syscall");
     600        log_it("%s","Unable to openin from syscall");
    601601        return (1);
    602602    }
     
    605605        pclose(pin);
    606606        pclose(pout);
    607         iamhere("Unable to openin masklist");
     607        log_it("%s","Unable to openin masklist");
    608608        return (1);
    609609    }
     
    18811881    log_msg(3, "Adding %s to filelist", list_of_files_fname);
    18821882    if (!(fin = fopen(list_of_files_fname, "r"))) {
    1883         iamhere(list_of_files_fname);
     1883        log_it("%s",list_of_files_fname);
    18841884        return (1);
    18851885    }
  • branches/2.2.9/mondo/src/common/libmondo-stream.c

    r2211 r2227  
    555555    last = g_tapecatalog->entries - 1;
    556556    if (last <= 0) {
    557         iamhere("Too early to start deleting from collection.");
     557        log_it("%s","Too early to start deleting from collection.");
    558558        return (0);
    559559    }
     
    568568    }
    569569    if (curr < 0) {
    570         iamhere
     570        log_it("%s",
    571571            ("Not far enough into tape to start deleting old archives from collection.");
    572572        return (0);
     
    17171717                   g_tape_stream) / 1024;
    17181718        if (g_sigpipe) {
    1719             iamhere("Sigpipe occurred recently. I'll start a new tape.");
     1719            log_it("%s","Sigpipe occurred recently. I'll start a new tape.");
    17201720            fclose(fin);
    17211721            g_sigpipe = FALSE;
  • branches/2.2.9/mondo/src/common/libmondo-verify.c

    r2211 r2227  
    281281    }
    282282
    283     iamhere("before vsbf");
     283    log_it("%s","before vsbf");
    284284    sprintf(tmp, "Verifying %s#%d's big files",
    285285            media_descriptor_string(bkpinfo->backup_media_type),
    286286            g_current_media_number);
    287287    open_evalcall_form(tmp);
    288     iamhere("after vsbf");
     288    log_it("%s","after vsbf");
    289289    sprintf(mountpoint, "%s/archives", mtpt);
    290290    if (last_bigfile_num == -1) {
     
    780780    res = read_header_block_from_stream(&size, fname, &ctrl_chr);
    781781    if (ctrl_chr != BLK_START_AFIOBALLS) {
    782         iamhere("YOU SHOULD NOT GET HERE");
    783         iamhere("Grabbing the EXAT files");
     782        log_it("%s","YOU SHOULD NOT GET HERE");
     783        log_it("%s","Grabbing the EXAT files");
    784784        if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) {
    785785            res =
     
    805805        }
    806806        if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) {
    807             iamhere("Reading EXAT files from tape");
     807            log_it("%s","Reading EXAT files from tape");
    808808            res =
    809809                read_EXAT_files_from_tape(&size, fname, &ctrl_chr,
     
    895895    if (ctrl_chr != BLK_START_BIGGIEFILES) {
    896896        if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) {
    897             iamhere("Grabbing the EXAT biggiefiles");
     897            log_it("%s","Grabbing the EXAT biggiefiles");
    898898            res =
    899899                read_EXAT_files_from_tape(&size, orig_fname,
     
    10191019    paranoid_free(tmp);
    10201020    verify_afioballs_on_CD(mountpoint);
    1021     iamhere("before verify_all_slices");
     1021    log_it("%s","before verify_all_slices");
    10221022    verify_all_slices_on_CD(mountpoint);
    10231023
     
    11411141    }
    11421142    verify_afioballs_on_CD(mountpoint);
    1143     iamhere("before verify_all_slices");
     1143    log_it("%s","before verify_all_slices");
    11441144    verify_all_slices_on_CD(mountpoint);
    11451145
  • branches/2.2.9/mondo/src/common/newt-specific.c

    r2211 r2227  
    14001400        assert_string_is_neither_NULL_nor_zerolength(source_file);
    14011401
    1402         iamhere("entering");
     1402        log_it("%s","entering");
    14031403        if (!(fin = fopen(source_file, "r"))) {
    14041404            log_OS_error(source_file);
     
    14831483        }
    14841484        paranoid_free(tmp);
    1485         iamhere("leaving");
     1485        log_it("%s","leaving");
    14861486        return (0);
    14871487    }
     
    14991499        char *tmp = NULL;
    15001500
    1501         iamhere("entering");
     1501        log_it("%s","entering");
    15021502        assert(flentry != NULL);
    15031503        if (flentry->severity == 0) {
     
    15151515        paranoid_free(tmp);
    15161516
    1517         iamhere("leaving");
     1517        log_it("%s","leaving");
    15181518        return (comment);
    15191519    }
Note: See TracChangeset for help on using the changeset viewer.