cvs commit: src/lib/libc/gen getgrent.c

Norikatsu Shigemura nork at ninth-nine.com
Wed Apr 23 00:39:57 PDT 2003


On Tue, 22 Apr 2003 15:19:05 -0700 (PDT)
Jacques Vidrine <nectar at freebsd.org> wrote:
>   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

	I confirmed that this problem was fixed.  Thank you!

>   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