Date: Tue, 18 Jul 2000 21:13:01 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Jin Guojun <jin@george.lbl.gov> Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/19994: sscanf() fails on 64-bit operations Message-ID: <Pine.BSF.4.21.0007182107090.1315-100000@besplex.bde.org> In-Reply-To: <200007180120.SAA92004@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Jul 2000, Jin Guojun wrote: > On Mon, 17 Jul 2000, Bruce Evans <bde@zeta.org.au> wrote: > > 64-bit types are unportable. FreeBSD's scanf only supports reading "quad" > > types using %qd format. > > > > FreeBSD's scanf also has some overflow handling bugs from misusing strtoq > > to handle non-quads. > > Shall we have "%lld" in FreeBSD to make it portable with other systems? Someday. It is in C99, so it should be portable after several years. We've had %lld in the printf code for more than a year, but it hasn't reached the man page yet. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007182107090.1315-100000>