From owner-cvs-lib Tue Jul 1 13:38:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA19794 for cvs-lib-outgoing; Tue, 1 Jul 1997 13:38:54 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA19769; Tue, 1 Jul 1997 13:38:47 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id GAA02746; Wed, 2 Jul 1997 06:36:13 +1000 Date: Wed, 2 Jul 1997 06:36:13 +1000 From: Bruce Evans Message-Id: <199707012036.GAA02746@godzilla.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 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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