From: Thorsten Kukuk <kukuk@suse.de>
To: libc-hacker@sources.redhat.com
Subject: [PATCH] fixes for latest checkins
Date: Thu, 21 Jul 2005 12:55:00 -0000 [thread overview]
Message-ID: <20050721125519.GA5352@suse.de> (raw)
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 <kukuk@suse.de>
* 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 <unistd.h>
-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 <stdarg.h>
#include <stdio.h>
#include <wchar.h>
+#include <string.h>
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
next reply other threads:[~2005-07-21 12:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-21 12:55 Thorsten Kukuk [this message]
2005-07-21 16:21 ` 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=20050721125519.GA5352@suse.de \
--to=kukuk@suse.de \
--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).