cvs commit: src/lib/libc/gen getgrent.c
Jacques Vidrine
nectar at FreeBSD.org
Tue Apr 22 15:19:06 PDT 2003
nectar 2003/04/22 15:19:05 PDT
FreeBSD src repository
Modified files:
lib/libc/gen getgrent.c
Log:
``Strong typing is a crutch for people with weak memories.''
Correct a bug that should have wreaked havoc everywhere, but for
some reason only bit unlucky people who use `-march' optimizations.
The compiler cannot assist one in distinguishing between the two
function calls below.
int nsdispatch(void *, ...);
void *discard;
nsdispatch(&discard, ...); /* correct .. no, really! */
nsdispatch(discard, ...); /* Boom */
Robin provided me with a debugging environment in which I could see
what was going on.
Badness when using CPUTYPE was
Reported by: "Robin P. Blanchard" <Robin.Blanchard at gactr.uga.edu>
Reported by: nork
Sponsored by: DARPA, Network Associates Laboratories
Revision Changes Path
1.28 +3 -3 src/lib/libc/gen/getgrent.c
More information about the cvs-src
mailing list