From: Bruno Haible Date: Sun, 14 Oct 2007 17:55:30 +0000 (+0000) Subject: Use __set_errno, for consistency with the rest of glibc sources. X-Git-Tag: v0.17~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a555db7b3bb7ab8d03deaa7c38896a8dd40306d3;p=thirdparty%2Fgettext.git Use __set_errno, for consistency with the rest of glibc sources. --- diff --git a/gettext-runtime/intl/dcigettext.c b/gettext-runtime/intl/dcigettext.c index 087835c11..514054e3c 100644 --- a/gettext-runtime/intl/dcigettext.c +++ b/gettext-runtime/intl/dcigettext.c @@ -595,7 +595,7 @@ DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2, retval = (char *) (*foundp)->translation; gl_rwlock_unlock (_nl_state_lock); - errno = saved_errno; + __set_errno (saved_errno); return retval; } #endif