From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Misc fixes
Date: Tue, 10 Mar 2009 13:42:00 -0000 [thread overview]
Message-ID: <20090310134905.GK16681@sunsite.ms.mff.cuni.cz> (raw)
Hi!
This patch fixes 2 small issues. fmemopen call in psiginfo shouldn't go
through PLT (elf/check-localplt failure) and there is a warning about
multi-line comment in sprof.c.
2009-03-10 Jakub Jelinek <jakub@redhat.com>
* include/stdio.h (fmemopen): Add libc_hidden_proto.
* libio/fmemopen.c (fmemopen): Add libc_hidden_def.
* elf/sprof.c: Avoid warning about multi-line comment.
--- libc/include/stdio.h.jj 2008-12-09 10:58:34.000000000 +0100
+++ libc/include/stdio.h 2009-03-10 14:22:16.000000000 +0100
@@ -152,6 +152,7 @@ libc_hidden_proto (fread_unlocked)
libc_hidden_proto (fwrite_unlocked)
libc_hidden_proto (fgets_unlocked)
libc_hidden_proto (fputs_unlocked)
+libc_hidden_proto (fmemopen)
libc_hidden_proto (open_memstream)
libc_hidden_proto (__libc_fatal)
libc_hidden_proto (__vsprintf_chk)
--- libc/libio/fmemopen.c.jj 2008-10-11 10:43:36.000000000 +0200
+++ libc/libio/fmemopen.c 2009-03-10 14:22:53.000000000 +0100
@@ -1,5 +1,6 @@
/* Fmemopen implementation.
- Copyright (C) 2000, 2002, 2005, 2006, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2005, 2006, 2008, 2009
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Hanno Mueller, kontakt@hanno.de, 2000.
@@ -258,3 +259,4 @@ fmemopen (void *buf, size_t len, const c
return _IO_fopencookie (c, mode, iof);
}
+libc_hidden_def (fmemopen)
--- libc/elf/sprof.c.jj 2009-02-16 14:47:24.000000000 +0100
+++ libc/elf/sprof.c 2009-03-10 13:15:52.000000000 +0100
@@ -87,7 +87,7 @@ static const struct argp_option options[
/* Short description of program. */
static const char doc[] = N_("Read and display shared object profiling data.");
-//For bug reporting instructions, please see:\n \
+//For bug reporting instructions, please see:\n
//<http://www.gnu.org/software/libc/bugs.html>.\n");
/* Strings for arguments in help texts. */
Jakub
next reply other threads:[~2009-03-10 13:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 13:42 Jakub Jelinek [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-10-06 11:41 Jakub Jelinek
2003-07-12 14:19 Jakub Jelinek
2003-07-12 18:49 ` Ulrich Drepper
2002-12-16 10:56 Jakub Jelinek
2002-12-16 11:33 ` Ulrich Drepper
1999-12-28 7:14 Jakub Jelinek
1999-12-28 8:29 ` Ulrich Drepper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090310134905.GK16681@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).