Date: Wed, 20 Apr 2005 08:03:58 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/printf printf.c Message-ID: <200504200803.j3K83wng087224@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stefanf 2005-04-20 08:03:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) usr.bin/printf printf.c Log: MFC rev. 1.31 and 1.32: Replace buggy for-loops to skip certain character with strspn(). If *fmt was '\0' (eg in the invocation 'printf %'), the for-loop would miss the terminating null character. Assign 0.0 to the variable passed to getfloating() if the argument is missing. Revision Changes Path 1.28.2.1 +6 -4 src/usr.bin/printf/printf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504200803.j3K83wng087224>