From 5d4c72efb46725e32956ed727dd7aa8b8079b96d Mon Sep 17 00:00:00 2001 From: "christian.plesner.hansen@gmail.com" Date: Wed, 15 Oct 2008 08:50:34 +0000 Subject: [PATCH] Review-related changes git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@505 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/log.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/log.cc b/src/log.cc index 4505449..01ca6dd 100644 --- a/src/log.cc +++ b/src/log.cc @@ -707,8 +707,13 @@ bool Logger::Setup() { stream.Add("%u", time); break; } + case '%': + // %% expands (contracts really) to %. + stream.Put('%'); + break; default: // All other %'s expand to themselves. + stream.Put('%'); stream.Put(*p); break; } -- 2.7.4