Ignore:
Timestamp:
Mar 12, 2024, 3:10:24 AM (3 months ago)
Author:
Bruno Cornec
Message:

More compiler fixes

  • Fix unused vars
  • Fix FreeBSD #if alone
  • Use MDSTAT_FILE everywhere
  • Fix missing break
  • Fix some strncpy. mr_strncpy used when safe
  • Fix wrong g_isoform_header_str proto !
  • find-cd & find-dvd => find-optical
File:
1 edited

Legend:

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

    r3879 r3892  
    14821482/**
    14831483 * Create the filelist for the backup. It will be stored in [scratchdir]/archives/filelist.full.
    1484  * @param logfile Unused.
    14851484 * @param tmpdir The tmpdir of the backup.
    14861485 * @param scratchdir The scratchdir of the backup.
     
    14901489 * @param userdef_filelist The user-defined filelist, or NULL if you're using @p include_paths.
    14911490 * @return 0, always.
    1492  * @bug @p logfile is unused.
    14931491 * @bug Return value is meaningless.
    14941492 */
    1495 int mondo_makefilelist(char *logfile, char *tmpdir, char *scratchdir,
     1493int mondo_makefilelist(char *tmpdir, char *scratchdir,
    14961494                       char *include_paths, char *excp, int differential,
    14971495                       char *userdef_filelist)
     
    16571655
    16581656    if (bkpinfo->make_filelist) {
    1659         res = mondo_makefilelist(MONDO_LOGFILE, bkpinfo->tmpdir, bkpinfo->scratchdir, bkpinfo->include_paths, bkpinfo->exclude_paths, bkpinfo->differential, NULL);
     1657        res = mondo_makefilelist(bkpinfo->tmpdir, bkpinfo->scratchdir, bkpinfo->include_paths, bkpinfo->exclude_paths, bkpinfo->differential, NULL);
    16601658    } else {
    1661         res = mondo_makefilelist(MONDO_LOGFILE, bkpinfo->tmpdir, bkpinfo->scratchdir, NULL, bkpinfo->exclude_paths, bkpinfo->differential, bkpinfo->include_paths);
     1659        res = mondo_makefilelist(bkpinfo->tmpdir, bkpinfo->scratchdir, NULL, bkpinfo->exclude_paths, bkpinfo->differential, bkpinfo->include_paths);
    16621660    }
    16631661
Note: See TracChangeset for help on using the changeset viewer.