Ignore:
Timestamp:
May 27, 2014, 5:53:14 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • Remove from mindi 2 functions replaced by perl code (ReadAllLink by mr-read-all-link and ProcessLDD by mr-process-ldd)
  • Redirect mindi execution to mondo log on the fly to try to improve percentage display with newt (not finished yet)
  • Introduce a new global var MINDI_LOGFILE and use it everywhere
  • Fix some memory free mising (thanks valgrind)
  • Remove a call to rpm to log packages - not portable
  • Works with valgrind locally to create images in dir
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-fork.c

    r3205 r3292  
    649649
    650650    for (sleep(1); command[0] != '\0'; sleep(1)) {
    651         pcno = grab_percentage_from_last_line_of_file(MONDO_LOGFILE);
     651        if (strstr(cmd,"mindi") != NULL) {
     652            pcno = grab_percentage_from_last_line_of_file(MINDI_LOGFILE);
     653        } else {
     654            pcno = grab_percentage_from_last_line_of_file(MONDO_LOGFILE);
     655        }
    652656        if (pcno < 0 || pcno > 100) {
    653657            log_msg(8, "Weird pc# %d", pcno);
Note: See TracChangeset for help on using the changeset viewer.