Changeset 2059


Ignore:
Timestamp:
Nov 17, 2008, 12:58:25 PM (12 years ago)
Author:
Bruno Cornec
Message:

Use MONDO_CACHE everywhere instead of fixed strings

Location:
branches/2.2.8/mondo/src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/common/libmondo-filelist.c

    r2030 r2059  
    16671667        snprintf(exclude_paths, (size_t)8*MAX_STR_LEN," %s %s %s %s %s . .. \
    16681668" MNT_CDROM " " MNT_FLOPPY " /media /tmp \
    1669 /proc /sys /var/cache/mondo " MINDI_CACHE, MONDO_CACHE, excp, tmp2, (tmpdir[0] == '/' && tmpdir[1] == '/') ? (tmpdir + 1) : tmpdir, (scratchdir[0] == '/' && scratchdir[1] == '/') ? (scratchdir + 1) : scratchdir);
     1669/proc /sys " MINDI_CACHE, MONDO_CACHE, excp, tmp2, (tmpdir[0] == '/' && tmpdir[1] == '/') ? (tmpdir + 1) : tmpdir, (scratchdir[0] == '/' && scratchdir[1] == '/') ? (scratchdir + 1) : scratchdir);
    16701670        paranoid_free(tmp2);
    16711671
  • branches/2.2.8/mondo/src/common/libmondo-tools.c

    r2030 r2059  
    881881        strcpy(bkpinfo->isodir, "/");
    882882    } else {
    883         strcpy(bkpinfo->isodir, "/var/cache/mondo");
     883        strcpy(bkpinfo->isodir, MONDO_CACHE);
    884884    }
    885885    strcpy(bkpinfo->prefix, STD_PREFIX);
Note: See TracChangeset for help on using the changeset viewer.