Date: Tue, 22 Apr 2003 15:19:05 -0700 (PDT) From: Jacques Vidrine <nectar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getgrent.c Message-ID: <200304222219.h3MMJ5IK043378@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304222219.h3MMJ5IK043378>