Changeset 1081 in MondoRescue for trunk/mondo/src/mondoarchive


Ignore:
Timestamp:
Jan 28, 2007, 11:20:07 PM (17 years ago)
Author:
Bruno Cornec
Message:

merge -r1078:1080 $SVN_M/branches/stable

Location:
trunk/mondo/src/mondoarchive
Files:
2 edited

Legend:

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

    r932 r1081  
    1 /*
    2  * $Id$
    3  *                                                                         *
    4  *   This program is free software; you can redistribute it and/or modify  *
    5  *   it under the terms of the GNU General Public License as published by  *
    6  *   the Free Software Foundation; either version 2 of the License, or     *
    7  *   (at your option) any later version.                                   *
    8  *                                                                         *
    9  ***************************************************************************
     1/***************************************************************************
     2* $Id$
     3*/
     4
     5
     6/**
     7 * @file
    108 * The main file for mondoarchive.
    119 */
     
    176174    diffs = 0;
    177175    printf(_("Initializing...\n"));
    178     if (!(bkpinfo = malloc(sizeof(struct s_bkpinfo)))) {
    179         fatal_error("Cannot malloc bkpinfo");
    180     }
     176    bkpinfo = mr_malloc(sizeof(struct s_bkpinfo));
    181177
    182178    /* Initialize Configuration Structure */
  • trunk/mondo/src/mondoarchive/mondo-cli.c

    r1079 r1081  
    11/***************************************************************************
    2  * $Id$
    3  *
     2$Id$
     3*******************************************************************/
     4
     5/**
     6 * @file
    47 * Functions for handling command-line arguments passed to mondoarchive.
    58 */
     
    522525    if (flag_set['z']) {
    523526        if (find_home_of_exe("getfattr")) {
    524             asprintf(&g_getfattr,"getfattr");
     527            mr_asprintf(&g_getfattr,"getfattr");
    525528        }
    526529        if (find_home_of_exe("getfacl")) {
    527             asprintf(&g_getfacl,"getfacl");
     530            mr_asprintf(&g_getfacl,"getfacl");
    528531        }
    529532    }
Note: See TracChangeset for help on using the changeset viewer.