Changeset 87 in MondoRescue for trunk/mondo/mondo/mondoarchive


Ignore:
Timestamp:
Oct 27, 2005, 10:03:00 PM (18 years ago)
Author:
bcornec
Message:
  • Now use -Wall to compile
  • asprintf for newt-specific.c
  • Bug in libmondo-string.c line 1120: if we use %% in this format, then the percentage is printeed wrongly (after the real percentage we have a huge number)
Location:
trunk/mondo/mondo/mondoarchive
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/mondoarchive/main.c

    r59 r87  
    319319    welcome_to_mondoarchive();
    320320    distro_specific_kludges_at_start_of_mondoarchive();
    321     sprintf(g_erase_tmpdir_and_scratchdir, "rm -Rf %s %s", bkpinfo->tmpdir,
    322             bkpinfo->scratchdir);
     321    // BERLIOS : too early, bkpinfo is not initialized ??
     322    //sprintf(g_erase_tmpdir_and_scratchdir, "rm -Rf %s %s", bkpinfo->tmpdir, bkpinfo->scratchdir);
    323323    g_kernel_version = get_kernel_version();
    324324
  • trunk/mondo/mondo/mondoarchive/mondo-cli.c

    r59 r87  
    161161/** @def BOOT_LOADER_CHARS The characters allowed for boot loader on this platform. */
    162162
    163 #include <pthread.h>
    164163#include "../common/my-stuff.h"
    165164#include "../common/mondostructures.h"
    166165#include "mondo-cli-EXT.h"
    167166#include "../common/libmondo.h"
    168 
    169 
     167#include <pthread.h>
    170168
    171169#ifndef VERSION
    172170#define VERSION AUX_VER
    173171#endif
    174 
    175172
    176173
     
    263260        retrieve_switches_from_command_line(argc, argv, flag_val,
    264261                                            flag_set);
     262    log_it("value: %s", flag_val['s']);
    265263    retval += res;
    266264    if (!retval) {
Note: See TracChangeset for help on using the changeset viewer.