Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 1997 06:36:13 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc/stdio scanf.3 vfscanf.c
Message-ID:  <199707012036.GAA02746@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
I wrote:
>I had this patch in my "needs more work" basket.  Its use of strtoq() and
>strtouq() for ints and longs is inefficient in all cases and incompatible
>in overflow cases.  The behaviour in overflow cases seems to be undefined,

NetBSD (vfscanf.c 1996/03/30) seems to have the same problems as the
patched version.  It also supports %ll and doesn't completely lose for
long doubles.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707012036.GAA02746>