]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use __set_errno, for consistency with the rest of glibc sources.
authorBruno Haible <bruno@clisp.org>
Sun, 14 Oct 2007 17:55:30 +0000 (17:55 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:17 +0000 (12:15 +0200)
gettext-runtime/intl/dcigettext.c

index 087835c11c9a551f5a34a76c3f3d88cebf4bc548..514054e3cd1df04456cddaf2661841a34404de13 100644 (file)
@@ -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