Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 12:29:25 -0600
From:      Cynbe ru Taren <cynbe@muq.org>
To:        bde@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc:        laurent@off.aspic.com
Subject:   Re: misc/15002: coredump in sprintf with long long args
Message-ID:  <199911201829.MAA08363@laurel.actlab.utexas.edu>

next 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.  :)

If anyone can give me an appropriate #if test to
detect FreeBSD versions prior to 3.2, I will patch
my source code to automatically use %qd instead of
%lld when appropriate.

Otherwise, I'll add a comment so people can resolve
the problem by hand, at least.

(I lack access to a FreeBSD system.)

Thanks again!
  Cynbe




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?199911201829.MAA08363>