mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
* posix/regex.c (gettext): Use correct translation domain for glibc. * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc. * argp/argp-help.c: Likewise. * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf. * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf. * misc/regexp.c (__step): Use __regexec instead of regexec. (__advance): Likewise. * nss/digits_dots.c: Use __inet_aton instead of inet_aton. * misc/daemon.c (daemon): Use __fork instead of fork.
This commit is contained in:
@ -33,6 +33,10 @@
|
||||
When compiling libc, the _ macro is predefined. */
|
||||
# if defined HAVE_LIBINTL_H || defined _LIBC
|
||||
# include <libintl.h>
|
||||
# ifdef _LIBC
|
||||
# undef dgettext
|
||||
# define dgettext(domain, msgid) __dcgettext (domain, msgid, LC_MESSAGES)
|
||||
# endif
|
||||
# else
|
||||
# define dgettext(domain, msgid) (msgid)
|
||||
# define gettext(msgid) (msgid)
|
||||
|
Reference in New Issue
Block a user