Review-related changes
authorchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 15 Oct 2008 08:50:34 +0000 (08:50 +0000)
committerchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 15 Oct 2008 08:50:34 +0000 (08:50 +0000)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@505 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/log.cc

index 4505449d5206e4637d93535b7781df59d1e22b69..01ca6dd49b934ba6c010563b5da7541f56f26fb6 100644 (file)
@@ -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;
           }