From owner-freebsd-bugs Sat Nov 20 16:29: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from awfulhak.org (dynamic-8.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.136]) by hub.freebsd.org (Postfix) with ESMTP id D2FC615721; Sat, 20 Nov 1999 16:28:49 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA06375; Sat, 20 Nov 1999 21:20:53 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA01878; Sat, 20 Nov 1999 21:25:36 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199911202125.VAA01878@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: Cynbe ru Taren Cc: bde@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, laurent@off.aspic.com, brian@hak.lan.Awfulhak.org Subject: Re: misc/15002: coredump in sprintf with long long args In-Reply-To: Message from Cynbe ru Taren of "Sat, 20 Nov 1999 12:29:25 CST." <199911201829.MAA08363@laurel.actlab.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 20 Nov 1999 21:25:36 +0000 From: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > | Synopsis: coredump in sprintf with long long args > | > | State-Changed-From-To: closed->analyzed > | State-Changed-By: bde > | State-Changed-When: Sat Nov 20 05:09:21 PST 1999 > | State-Changed-Why: > | To actually explain the problem. > | > | The problem is a printf format error. The nonstandard format "%lld" was > | not supported in FreeBSD until FreeBSD-3.2. The 4.4BSD format "%qd" must > | be used to print long longs (at least on i386's) under earler versions. > > Thank you! > > I find this feedback much more useful than > suggestions about my recreational drug habits. :) [.....] I thought that %lld was the standard and %qd was the pre-standard. Anyone with an appropriate spec ? > Thanks again! > Cynbe -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message