From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23588 invoked by alias); 10 Mar 2009 13:42:49 -0000 Received: (qmail 23570 invoked by uid 22791); 10 Mar 2009 13:42:48 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Mar 2009 13:42:35 +0000 Received: from sunsite.mff.cuni.cz (localhost.localdomain [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.8/8.13.8) with ESMTP id n2ADn6P3010616; Tue, 10 Mar 2009 14:49:06 +0100 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.13.8/8.13.8/Submit) id n2ADn6Y7010615; Tue, 10 Mar 2009 14:49:06 +0100 Date: Tue, 10 Mar 2009 13:42:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Misc fixes Message-ID: <20090310134905.GK16681@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00003.txt.bz2 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 * 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 //.\n"); /* Strings for arguments in help texts. */ Jakub