Changeset 146 in MondoRescue for trunk/mondo/mondo/common/my-stuff.h


Ignore:
Timestamp:
Dec 1, 2005, 10:00:14 AM (18 years ago)
Author:
bcornec
Message:

MONDO_LOGFILE used each time now
memory management on libmondo-devices.c
some splint improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/my-stuff.h

    r142 r146  
    115115 */
    116116#ifdef NDEBUG
    117 #define assert(exp) ((void)0)
     117#   define assert(exp) ((void)0)
    118118#else
    119 #define assert(exp) ((exp)?((void)0):_mondo_assert_fail(__FILE__, __FUNCTION__, __LINE__, #exp))
     119#   ifndef S_SPLINT_S
     120#       define assert(exp) ((exp)?((void)0):_mondo_assert_fail(__FILE__, __FUNCTION__, __LINE__, #exp))
     121#   else
     122#       define assert(exp) ((void)0)
     123#   endif
    120124#endif
    121125
     
    240244 */
    241245#define MAX_TAPECAT_FNAME_LEN 32
    242 
    243 //#define strcpy(y,x) strncpy(y, x, sizeof(y)-1)
    244 
    245246
    246247/**
Note: See TracChangeset for help on using the changeset viewer.