mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
* include/stdio.h (__fxprintf): Remove wfmt argument.
* stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. (__fxprintf): Remove wfmt argument, create wfmt format string on the fly from fmt. * argp/argp-fmtstream.c: Adjust all __fxprintf callers. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise.
This commit is contained in:
@@ -173,7 +173,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path)
|
||||
xprt = (SVCXPRT *) mem_alloc (sizeof (SVCXPRT));
|
||||
if (r == NULL || xprt == NULL)
|
||||
{
|
||||
__fxprintf (NULL, "%s", L"%s", _("svcunix_create: out of memory\n"));
|
||||
__fxprintf (NULL, "%s", _("svcunix_create: out of memory\n"));
|
||||
mem_free (r, sizeof (*r));
|
||||
mem_free (xprt, sizeof (SVCXPRT));
|
||||
return NULL;
|
||||
@@ -211,7 +211,7 @@ makefd_xprt (int fd, u_int sendsize, u_int recvsize)
|
||||
cd = (struct unix_conn *) mem_alloc (sizeof (struct unix_conn));
|
||||
if (xprt == (SVCXPRT *) NULL || cd == (struct unix_conn *) NULL)
|
||||
{
|
||||
(void) __fxprintf (NULL, "%s", L"%s",
|
||||
(void) __fxprintf (NULL, "%s",
|
||||
_("svc_unix: makefd_xprt: out of memory\n"));
|
||||
mem_free (xprt, sizeof (SVCXPRT));
|
||||
mem_free (cd, sizeof (struct unix_conn));
|
||||
|
Reference in New Issue
Block a user