X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=intl%2Fdcigettext.c;h=2263c7678f0cdded7eb98aa7f4f802e5b80ed192;hp=6acde195ff6adfeba7c21f599360d0abe6346367;hb=ba5e3af4ea19e1d20c80941c077039871ec84258;hpb=a8477ebaa09990b3688164cbe5cf661c4189541d diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 6acde19..2263c76 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -306,7 +306,7 @@ static const char *guess_category_value PARAMS ((int category, #ifdef HAVE_ALLOCA /* Nothing has to be done. */ # define ADD_BLOCK(list, address) /* nothing */ -# define FREE_BLOCKS(list) /* nothing */ +# define mem_free_BLOCKS(list) /* nothing */ #else struct block_list { @@ -324,7 +324,7 @@ struct block_list (list) = newp; \ } \ } while (0) -# define FREE_BLOCKS(list) \ +# define mem_free_BLOCKS(list) \ do { \ while (list != NULL) { \ struct block_list *old = list; \ @@ -517,7 +517,7 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) { /* We cannot get the current working directory. Don't signal an error but simply return the default string. */ - FREE_BLOCKS (block_list); + mem_free_BLOCKS (block_list); __libc_rwlock_unlock (_nl_state_lock); __set_errno (saved_errno); return (plural == 0 @@ -582,7 +582,7 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) if (strcmp (single_locale, "C") == 0 || strcmp (single_locale, "POSIX") == 0) { - FREE_BLOCKS (block_list); + mem_free_BLOCKS (block_list); __libc_rwlock_unlock (_nl_state_lock); __set_errno (saved_errno); return (plural == 0 @@ -621,7 +621,7 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) { /* Found the translation of MSGID1 in domain DOMAIN: starting at RETVAL, RETLEN bytes. */ - FREE_BLOCKS (block_list); + mem_free_BLOCKS (block_list); __set_errno (saved_errno); #if defined HAVE_TSEARCH || defined _LIBC if (foundp == NULL)