* stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
authorUlrich Drepper <drepper@redhat.com>
Thu, 28 Jul 2005 14:51:03 +0000 (14:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 28 Jul 2005 14:51:03 +0000 (14:51 +0000)
call.
* gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.

ChangeLog
gmon/gmon.c
stdio-common/fxprintf.c

index 4d2767c..9b88a76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * nis/nis_file.c: Rewrite the two pairs of functions into wrappers
index d292454..1e94aab 100644 (file)
@@ -331,7 +331,7 @@ write_gmon (void)
       {
        size_t len = strlen (env);
        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);
       }
 
index 6fecb31..ff6a98e 100644 (file)
@@ -47,7 +47,7 @@ __fxprintf (FILE *fp, const char *fmt, ...)
       res = __vfwprintf (fp, wfmt, ap);
     }
   else
-    res = _IO_vfprintf (fp, fmt, ap);
+    res = INTUSE(_IO_vfprintf) (fp, fmt, ap);
 
   va_end (ap);