Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 21:25:36 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Cynbe ru Taren <cynbe@muq.org>
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 
Message-ID:  <199911202125.VAA01878@hak.lan.Awfulhak.org>
In-Reply-To: Message from Cynbe ru Taren <cynbe@muq.org>  of "Sat, 20 Nov 1999 12:29:25 CST." <199911201829.MAA08363@laurel.actlab.utexas.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> |  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 <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




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?199911202125.VAA01878>