+2002-09-19 Bruno Haible <bruno@clisp.org>
+
+ * intl/dcigettext.c (DCIGETTEXT): Restore errno only right before
+ returning.
+
2002-09-17 Bruno Haible <bruno@clisp.org>
* sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c.
/* Found the translation of MSGID1 in domain DOMAIN:
starting at RETVAL, RETLEN bytes. */
FREE_BLOCKS (block_list);
- __set_errno (saved_errno);
#if defined HAVE_TSEARCH || defined _LIBC
if (foundp == NULL)
{
(*foundp)->translation_length = retlen;
}
#endif
+ __set_errno (saved_errno);
+
/* Now deal with plural. */
if (plural)
retval = plural_lookup (domain, n, retval, retlen);