From 77459046d0c79ac5538f7da6731fbdb15c8d10fc Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 18 May 2011 22:12:29 +0300 Subject: Update regex; fix to io.c; update de.po, fi.po. --- regex_internal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'regex_internal.h') diff --git a/regex_internal.h b/regex_internal.h index f87d336d..6b6a1f40 100644 --- a/regex_internal.h +++ b/regex_internal.h @@ -467,8 +467,7 @@ static unsigned int re_string_context_at (const re_string_t *input, int idx, #endif #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t))) -/* SunOS 4.1.x realloc doesn't accept null pointers: pre-Standard C. Sigh. */ -#define re_realloc(p,t,n) ((p != NULL) ? (t *) realloc (p,(n)*sizeof(t)) : (t *) calloc(n,sizeof(t))) +#define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t))) #define re_free(p) free (p) struct bin_tree_t -- cgit v1.2.3