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, 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |