1 *** lib/regex_internal.h.orig Mon May 24 12:36:55 2010
2 --- lib/regex_internal.h Mon May 24 12:35:46 2010
5 # define MAX(a,b) ((a) < (b) ? (b) : (a))
8 ! #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t)))
9 #define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t)))
10 #define re_free(p) free (p)
13 # define MAX(a,b) ((a) < (b) ? (b) : (a))
16 ! #define re_malloc(t,n) ((t *) malloc ((n) > 0 ? (n) * sizeof (t) : 1))
17 #define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t)))
18 #define re_free(p) free (p)