From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18463 invoked by alias); 21 Jul 2005 12:55:33 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 18447 invoked by uid 22791); 21 Jul 2005 12:55:32 -0000 Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 21 Jul 2005 12:55:32 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id A6C6B1D79A for ; Thu, 21 Jul 2005 14:55:26 +0200 (CEST) Date: Thu, 21 Jul 2005 12:55:00 -0000 From: Thorsten Kukuk To: libc-hacker@sources.redhat.com Subject: [PATCH] fixes for latest checkins Message-ID: <20050721125519.GA5352@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-SW-Source: 2005-07/txt/msg00038.txt.bz2 Hi, I got two compiler warnings from the latest checkins, __getgroups_chk has the wrong return value (should be int, not char *) and fxprintf.c is missing a string.h include: 2005-07-21 Thorsten Kukuk * debug/getgroups_chk.c (__getgroups_chk): Fix return value. * stdio-common/fxprintf.c: Include string.h. --- debug/getgroups_chk.c 18 Jul 2005 20:56:52 -0000 1.1 +++ debug/getgroups_chk.c 21 Jul 2005 11:45:15 -0000 @@ -20,7 +20,7 @@ #include -char * +int __getgroups_chk (int size, __gid_t list[], size_t listlen) { if (__builtin_expect (size * sizeof (__gid_t) > listlen, 0)) --- stdio-common/fxprintf.c 20 Jul 2005 17:47:00 -0000 1.2 +++ stdio-common/fxprintf.c 21 Jul 2005 11:45:17 -0000 @@ -22,7 +22,8 @@ #include #include #include +#include int -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SUSE LINUX Products GmbH Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B