about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-28 14:51:03 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-28 14:51:03 +0000
commit4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4 (patch)
tree9a37ccba8d4cb04e330a26228d9fe720d1666e94
parenteca086a6135354d530a495a4e61b58bdc3fb48ee (diff)
downloadglibc-4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4.tar.gz
glibc-4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4.tar.xz
glibc-4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4.zip
* stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
	call.
	* gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
-rw-r--r--ChangeLog6
-rw-r--r--gmon/gmon.c2
-rw-r--r--stdio-common/fxprintf.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d2767c6ec..9b88a76650 100644
--- 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
diff --git a/gmon/gmon.c b/gmon/gmon.c
index d292454ab5..1e94aaba5f 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -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);
       }
 
diff --git a/stdio-common/fxprintf.c b/stdio-common/fxprintf.c
index 6fecb31fb7..ff6a98e94b 100644
--- a/stdio-common/fxprintf.c
+++ b/stdio-common/fxprintf.c
@@ -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);