This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! Following patch kills the unwanted: 0000000000232000 000000cb00000007 R_X86_64_JUMP_SLOT 000000000004a140 snprintf + 0 0000000000232030 000006ec00000007 R_X86_64_JUMP_SLOT 00000000000414f0 _IO_vfprintf + 0 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. --- libc/stdio-common/fxprintf.c.jj 2005-07-28 15:59:16.000000000 +0200 +++ libc/stdio-common/fxprintf.c 2005-07-28 16:16:38.000000000 +0200 @@ -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); --- libc/gmon/gmon.c.jj 2005-07-28 15:56:59.000000000 +0200 +++ libc/gmon/gmon.c 2005-07-28 16:16:06.000000000 +0200 @@ -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); } Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |