Ignore:
Timestamp:
Apr 17, 2008, 1:29:45 AM (16 years ago)
Author:
Bruno Cornec
Message:

mondo.libmondo-cli.patch (Mark Pinkerton <Mark.Pinkerton_at_emageon.com>) modified to not duplicate the newt initialization stuff (we should rather remove them in mondoarchive)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.6/mondo/src/common/libmondo-tools.c

    r1855 r1917  
    180180#include "libmondo-fork-EXT.h"
    181181#include "libmondo-raid-EXT.h"
     182#include "libmondo-devices-EXT.h"
    182183#include <sys/socket.h>
    183184#include <netdb.h>
     
    244245
    245246extern bool am_I_in_disaster_recovery_mode(void);
     247
     248/* Return a string containing the date */
     249char *mr_date(void) {
     250
     251        time_t tcurr;
     252
     253        tcurr = time(NULL);
     254        return(ctime(&tcurr));
     255}
     256
     257/*-----------------------------------------------------------*/
    246258
    247259
     
    10011013    memset((void *) bkpinfo, 0, sizeof(struct s_bkpinfo));
    10021014
    1003     /* special case for tmpdir as used eveywhere after */
    1004     setup_tmpdir(NULL);
     1015    sensibly_set_tmpdir_and_scratchdir();
    10051016
    10061017    bkpinfo->manual_cd_tray = FALSE;
     
    10301041    strcpy(bkpinfo->prefix, STD_PREFIX);
    10311042
    1032     bkpinfo->scratchdir[0] = '\0';
    10331043    bkpinfo->make_filelist = TRUE;  // unless -J supplied to mondoarchive
    10341044    bkpinfo->optimal_set_size = 0;
Note: See TracChangeset for help on using the changeset viewer.