Ignore:
Timestamp:
Jan 28, 2007, 11:20:07 PM (13 years ago)
Author:
bruno
Message:

merge -r1078:1080 $SVN_M/branches/stable

File:
1 edited

Legend:

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

    r1079 r1081  
    33 */
    44#include "my-stuff.h"
     5#include "mr_mem.h"
    56#include "mondostructures.h"
    67#include "libmondo-fork.h"
     
    7980    assert_string_is_neither_NULL_nor_zerolength(isofile);
    8081    assert_string_is_neither_NULL_nor_zerolength(logstub);
    81     if (!(midway_call = malloc(1200))) {
    82         fatal_error("Cannot malloc midway_call");
    83     }
    84     if (!(ultimate_call = malloc(1200))) {
    85         fatal_error("Cannot malloc ultimate_call");
    86     }
    87     if (!(tmp = malloc(1200))) {
    88         fatal_error("Cannot malloc tmp");
    89     }
     82    midway_call = mr_malloc(1200);
     83    ultimate_call = mr_malloc(1200);
     84    tmp = mr_malloc(1200);
    9085
    9186    mr_asprintf(&cd_number_str, "%d", cd_no);
     
    350345    log_msg(5, "Opening.");
    351346    bufcap = 256L * 1024L;
    352     if (!(buf = malloc(bufcap))) {
    353         fatal_error("Failed to malloc() buf");
    354     }
     347    buf = mr_malloc(bufcap);
    355348
    356349    if (direction == 'w') {
Note: See TracChangeset for help on using the changeset viewer.