diff options
author | Bruno Haible <bruno@clisp.org> | 2007-10-14 17:55:30 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:15:17 +0200 |
commit | a555db7b3bb7ab8d03deaa7c38896a8dd40306d3 (patch) | |
tree | c66a371d01ef433a9eedce21d066152ef4191bbc | |
parent | ac5cb33d56dd4f44064d36a3912ae3d192e69732 (diff) | |
download | external_gettext-a555db7b3bb7ab8d03deaa7c38896a8dd40306d3.zip external_gettext-a555db7b3bb7ab8d03deaa7c38896a8dd40306d3.tar.gz external_gettext-a555db7b3bb7ab8d03deaa7c38896a8dd40306d3.tar.bz2 |
Use __set_errno, for consistency with the rest of glibc sources.
-rw-r--r-- | gettext-runtime/intl/dcigettext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-runtime/intl/dcigettext.c b/gettext-runtime/intl/dcigettext.c index 087835c..514054e 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 |