1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2001-08-20  Ulrich Drepper  <drepper@redhat.com>

	* include/dirent.h: Include <dirstream.h> first.
This commit is contained in:
Ulrich Drepper
2001-08-20 07:17:10 +00:00
parent faf4c7f081
commit 0028f16e8a
3 changed files with 13 additions and 8 deletions

View File

@ -1712,11 +1712,11 @@ __argp_error (const struct argp_state *state, const char *fmt, ...)
{
char *buf;
asprintf (&buf, fmt, ap);
__asprintf (&buf, fmt, ap);
fwprintf (stream, L"%s: %s\n",
state ? state->name : program_invocation_short_name,
buf);
__fwprintf (stream, L"%s: %s\n",
state ? state->name : program_invocation_short_name,
buf);
free (buf);
}
@ -1787,9 +1787,9 @@ __argp_failure (const struct argp_state *state, int status, int errnum,
{
char *buf;
asprintf (&buf, fmt, ap);
__asprintf (&buf, fmt, ap);
fwprintf (stream, L": %s", buf);
__fwprintf (stream, L": %s", buf);
free (buf);
}
@ -1811,8 +1811,8 @@ __argp_failure (const struct argp_state *state, int status, int errnum,
#ifdef USE_IN_LIBIO
if (_IO_fwide (stream, 0) > 0)
fwprintf (stream, ": %s",
__strerror_r (errnum, buf, sizeof (buf)));
__fwprintf (stream, ": %s",
__strerror_r (errnum, buf, sizeof (buf)));
else
#endif
{