Diff for /libaitio/inc/aitio.h between versions 1.16.2.2 and 1.16.2.3

version 1.16.2.2, 2012/03/29 12:23:00 version 1.16.2.3, 2012/04/02 08:08:09
Line 166  typedef struct { Line 166  typedef struct {
                                                 } } while (0)                                                  } } while (0)
 #define AIT_SET_STRCAT(_vl, _v)         do { ait_val_t *__val = (_vl); assert(__val); \  #define AIT_SET_STRCAT(_vl, _v)         do { ait_val_t *__val = (_vl); assert(__val); \
                                                 assert(AIT_TYPE(__val) == string); \                                                  assert(AIT_TYPE(__val) == string); \
                                                void *__p = realloc(AIT_LEN(__val) + strlen((_v))); \                                                void *__p = realloc(__val->val.string, \
                                                                 AIT_LEN(__val) + strlen((_v))); \
                                                 if (__p) { \                                                  if (__p) { \
                                                         __val->val.string = __p; \                                                          __val->val.string = __p; \
                                                         AIT_LEN(__val) += strlen((_v)); \                                                          AIT_LEN(__val) += strlen((_v)); \

Removed from v.1.16.2.2  
changed lines
  Added in v.1.16.2.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>