Ignore:
Timestamp:
Jan 28, 2007, 7:04:41 PM (13 years ago)
Author:
bruno
Message:
  • Fix mindi install messages (reported by Andree Leidenfrost)
  • remove paranoid_free/free for mr_free
  • mr_asprintf used everywhere
  • mr_malloc used everywhere
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/include/my-stuff.h

    r1078 r1080  
    1414#define NOOF_ERR_LINES  6   
    1515
    16 #define paranoid_free(exp) mr_free(exp)
    17 
    1816/**
    1917 * @file
     
    2220
    2321#include <stdio.h>
     22#include "mr_mem.h"
    2423
    2524#if !defined(bool) && !defined(__cplusplus)
     
    286285 * Malloc @p x to be MAX_STR_LEN bytes and call fatal_error() if we're out of memory.
    287286 */
    288 #define malloc_string(x) { x = (char *)malloc(MAX_STR_LEN); if (!x) { fatal_error("Unable to malloc"); } x[0] = x[1] = '\0'; }
     287#define malloc_string(x) { x = (char *)mr_malloc(MAX_STR_LEN); x[0] = x[1] = '\0'; }
    289288
    290289/**
Note: See TracChangeset for help on using the changeset viewer.