Ignore:
Timestamp:
Aug 9, 2007, 3:19:05 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • use of conf file for mkisofs and cdrecord commands
  • unification of cdr,cdrw and dvd
  • may not compile, modifications will continue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-fork.c

    r1548 r1592  
    100100
    101101    /*@ buffers      *** */
    102     char *midway_call, *ultimate_call, *tmp;
     102    char *ultimate_call;
     103    char *midway_call;
    103104    char *p = NULL;
    104105    char *cd_number_str = NULL;
     
    115116    assert_string_is_neither_NULL_nor_zerolength(logstub);
    116117
     118    ultimate_call = mr_malloc(1200);
    117119    midway_call = mr_malloc(1200);
    118     ultimate_call = mr_malloc(1200);
    119     tmp = mr_malloc(1200);
    120120
    121121    mr_asprintf(&cd_number_str, "%d", cd_no);
    122122    resolve_naff_tokens(midway_call, basic_call, isofile, "_ISO_");
    123     resolve_naff_tokens(tmp, midway_call, cd_number_str, "_CD#_");
     123    resolve_naff_tokens(ultimate_call, midway_call, cd_number_str, "_CD#_");
    124124    mr_free(cd_number_str);
    125125
    126     resolve_naff_tokens(ultimate_call, tmp, MONDO_LOGFILE, "_ERR_");
    127126    mr_msg(4, "basic call = '%s'", basic_call);
    128     mr_msg(4, "midway_call = '%s'", midway_call);
    129     mr_msg(4, "tmp = '%s'", tmp);
     127    mr_msg(4, "midway call = '%s'", midway_call);
    130128    mr_msg(4, "ultimate call = '%s'", ultimate_call);
    131129    mr_asprintf(&command, "%s >> %s", ultimate_call, MONDO_LOGFILE);
     
    157155            popup_and_OK(_("Press ENTER to continue."));
    158156            popup_and_OK
    159                 (_("mkisofs and/or cdrecord returned an error. CD was not created"));
     157                (_("CD was not created due to an error."));
    160158        }
    161159    }
     
    172170    mr_free(midway_call);
    173171    mr_free(ultimate_call);
    174     mr_free(tmp);
    175172    return (retval);
    176173}
Note: See TracChangeset for help on using the changeset viewer.