Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: samples/lineprocessor.cc

Issue 549081: Fix Windows build by using OS::StrNCpy.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/cctest/test-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/lineprocessor.cc
===================================================================
--- samples/lineprocessor.cc (revision 3640)
+++ samples/lineprocessor.cc (working copy)
@@ -404,8 +404,8 @@
}
v8::Handle<v8::String> ReadLine() {
- const int buffer_size = 1024 + 1;
- char buffer[buffer_size];
+ const int kBufferSize = 1024 + 1;
+ char buffer[kBufferSize];
char* res;
{
« no previous file with comments | « no previous file | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698