mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
* stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
call. * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
This commit is contained in:
parent
eca086a613
commit
4c5b09ed6b
@ -1,3 +1,9 @@
|
|||||||
|
2005-07-28 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
|
||||||
|
call.
|
||||||
|
* gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
|
||||||
|
|
||||||
2005-07-28 Ulrich Drepper <drepper@redhat.com>
|
2005-07-28 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* nis/nis_file.c: Rewrite the two pairs of functions into wrappers
|
* nis/nis_file.c: Rewrite the two pairs of functions into wrappers
|
||||||
|
@ -331,7 +331,7 @@ write_gmon (void)
|
|||||||
{
|
{
|
||||||
size_t len = strlen (env);
|
size_t len = strlen (env);
|
||||||
char buf[len + 20];
|
char buf[len + 20];
|
||||||
snprintf (buf, sizeof (buf), "%s.%u", env, __getpid ());
|
__snprintf (buf, sizeof (buf), "%s.%u", env, __getpid ());
|
||||||
fd = open_not_cancel (buf, O_CREAT|O_TRUNC|O_WRONLY|O_NOFOLLOW, 0666);
|
fd = open_not_cancel (buf, O_CREAT|O_TRUNC|O_WRONLY|O_NOFOLLOW, 0666);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ __fxprintf (FILE *fp, const char *fmt, ...)
|
|||||||
res = __vfwprintf (fp, wfmt, ap);
|
res = __vfwprintf (fp, wfmt, ap);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
res = _IO_vfprintf (fp, fmt, ap);
|
res = INTUSE(_IO_vfprintf) (fp, fmt, ap);
|
||||||
|
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user