Ignore:
Timestamp:
Aug 18, 2009, 3:25:29 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3342@localhost: bruno | 2009-08-14 00:46:51 +0200

  • Another round of strcpy suppressions
  • find_home_of_exe() now allocates memory which has to be freed by the caller
  • Supress useless sz_last_suffix()
  • mr_getline now has the same interface as the other mr_mem functions
  • valgrind and compiler warnings fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/mondorestore/mondorestore.c

    r2329 r2331  
    25352535    log_msg(1, "path is now %s", newpath);
    25362536    log_msg(1, "restoring everything");
    2537     if (!find_home_of_exe("petris") && !g_text_mode) {
     2537    tmp = find_home_of_exe("petris");
     2538    if (!tmp && !g_text_mode) {
    25382539        newtDrawRootText(0, g_noof_rows - 2,
    25392540                         "Press ALT-<left cursor> twice to play Petris :-) ");
    25402541        newtRefresh();
    25412542    }
     2543    mr_free(tmp);
     2544
    25422545    mvaddstr_and_log_it(g_currentY, 0, "Preparing to read your archives");
    25432546    if (IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type)) {
Note: See TracChangeset for help on using the changeset viewer.