Ignore:
Timestamp:
Jun 3, 2009, 7:10:19 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3089@localhost: bruno | 2009-05-18 06:41:05 +0200

  • move call to asprintf to call to mr_asprintf (suppress a compiler warning)
  • remove all the most obvious bad call to strcat and replace by mr_strcat as appropriate
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.c

    r2209 r2211  
    11/***************************************************************************
    22 * $Id$
    3  */
    4 
    5 
    6 /**
    7  * @file
    83 * Functions for handling GUI interfaces in the restore.
    94 */
     
    116#ifdef __FreeBSD__
    127#define OSSWAP(linux,fbsd) fbsd
    13 //#include <libgen.h>
    148#else
    159#define OSSWAP(linux,fbsd) linux
     
    1711
    1812#include "mondo-rstr-newt.h"
     13#include "mr_mem.h"
    1914
    2015//static char cvsid[] = "$Id$";
     
    19501945    assert(raidlist != NULL);
    19511946
    1952     asprintf(&flaws_str_A, "%s", "xxxxxxxxx");
    1953     asprintf(&flaws_str_B, "%s", "xxxxxxxxx");
    1954     asprintf(&flaws_str_C, "%s", "xxxxxxxxx");
     1947    mr_asprintf(&flaws_str_A, "%s", "         ");
     1948    mr_asprintf(&flaws_str_B, "%s", "         ");
     1949    mr_asprintf(&flaws_str_C, "%s", "         ");
    19551950    if (mountlist->entries > ARBITRARY_MAXIMUM) {
    19561951        log_to_screen("Arbitrary limits suck, man!");
Note: See TracChangeset for help on using the changeset viewer.