Date: Sat, 21 Oct 2006 11:49:07 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio xprintf.c Message-ID: <200610211149.k9LBn7xA045569@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2006-10-21 11:49:07 UTC FreeBSD src repository Modified files: lib/libc/stdio xprintf.c Log: Workaround for (what seems to be) compiler error for gcc 3.4.6. On i386 with default optimization level (-O2), va_list pointer ap in the __v2printf function is advanced before the use. That cause argument shift and garbage instead last argument in printf-family when xprintf is activated. The nsswitch is easy victim of the bug. Reviewed by: kan Approved by: kan (mentor) MFC after: 1 week Revision Changes Path 1.4 +4 -1 src/lib/libc/stdio/xprintf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610211149.k9LBn7xA045569>