diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-18 22:12:29 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-18 22:12:29 +0300 |
commit | 77459046d0c79ac5538f7da6731fbdb15c8d10fc (patch) | |
tree | b5b2d79f4925c5f772dd5bd2b81ab78396286141 /regex_internal.h | |
parent | ad61e1cba6053cac959d227dfdf2aaae0a01c125 (diff) | |
download | egawk-77459046d0c79ac5538f7da6731fbdb15c8d10fc.tar.gz egawk-77459046d0c79ac5538f7da6731fbdb15c8d10fc.tar.bz2 egawk-77459046d0c79ac5538f7da6731fbdb15c8d10fc.zip |
Update regex; fix to io.c; update de.po, fi.po.
Diffstat (limited to 'regex_internal.h')
-rw-r--r-- | regex_internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |