Ignore:
Timestamp:
Jan 11, 2008, 10:58:11 AM (16 years ago)
Author:
Bruno Cornec
Message:

removal of locate usage completely from code to use findw!

File:
1 edited

Legend:

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

    r1848 r1854  
    20052005        paranoid_system(tmp3);
    20062006    }
    2007     /*
    2008        if (!does_file_exist(tmp))
    2009        {
    2010        log_msg (2, "Silly bug in Mindi.pl; workaround in progress...");
    2011        strcpy(fnam, call_program_and_get_last_line_of_output("locate isolinux.bin | tail -n1"));
    2012        if (strlen(fnam)>0 && does_file_exist(fnam))
    2013        {
    2014        sprintf(tmp, "cp -f %s %s", fnam, bkpinfo->scratchdir);
    2015        res = run_program_and_log_output(tmp, FALSE);
    2016        }
    2017        else
    2018        {
    2019        res = 1;
    2020        }
    2021        if (res)
    2022        {
    2023        log_msg (2, "Could not work around silly bug in Mindi.pl - sorry! Isolinux.bin missing");
    2024        }
    2025        }
    2026      */
    20272007    free(tmp2);
    20282008    free(tmp3);
Note: See TracChangeset for help on using the changeset viewer.