From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NeWN9-0000l2-Oe for qemu-devel@nongnu.org; Mon, 08 Feb 2010 11:22:03 -0500 Received: from [199.232.76.173] (port=32857 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NeWN9-0000ku-CN for qemu-devel@nongnu.org; Mon, 08 Feb 2010 11:22:03 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NeWN7-0003sn-QD for qemu-devel@nongnu.org; Mon, 08 Feb 2010 11:22:03 -0500 Received: from mail-fx0-f209.google.com ([209.85.220.209]:49379) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NeWN7-0003sP-FO for qemu-devel@nongnu.org; Mon, 08 Feb 2010 11:22:01 -0500 Received: by fxm1 with SMTP id 1so7164538fxm.4 for ; Mon, 08 Feb 2010 08:22:00 -0800 (PST) Message-ID: <4B703A22.3030800@codemonkey.ws> Date: Mon, 08 Feb 2010 10:21:54 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [PATCH] JSON: add %I64d support (Was: Re: [Qemu-devel] system_reset command cause assert failed) References: <473191351002031830w7876c367vf534508e292c4f04@mail.gmail.com> <20100204122414.32e9676e@doriath> <473191351002040859u3d99113dy9143dcdcff0b8566@mail.gmail.com> In-Reply-To: <473191351002040859u3d99113dy9143dcdcff0b8566@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Roy Tam Cc: qemu-devel , Luiz Capitulino On 02/04/2010 10:59 AM, Roy Tam wrote: > 2010/2/4 Luiz Capitulino: > >> On Thu, 4 Feb 2010 10:30:30 +0800 >> Roy Tam wrote: >> >> >>> 2010/2/4 Roy Tam: >>> >>>> 2010/2/3 Luiz Capitulino: >>>> >>> OK we are fooled by the json lexer and parser. As we use %I64d to >>> print 'long long' variables in Win32, but lexer and parser only deal >>> with %lld but not %I64d, this patch add support for %I64d and solve >>> 'info pci', 'powser_reset' and 'power_powerdown' assert failure in >>> Win32. >>> >> Hm, I guess this has been suggested before... Anthony? >> >> > OK I just missed this. And the wheel was reinvented. :-S > http://www.mail-archive.com/qemu-devel@nongnu.org/msg23983.html > I asked for the json parser changes to be split from the PRId64 changes. It was never resubmitted. I'll apply your patch. Regards, Anthony Liguori