Commit 449359b0 authored by peter.rybin@gmail.com's avatar peter.rybin@gmail.com

Fix lineprocessor: compilation

Review URL: http://codereview.chromium.org/549086

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3656 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 66191545
...@@ -410,7 +410,7 @@ v8::Handle<v8::String> ReadLine() { ...@@ -410,7 +410,7 @@ v8::Handle<v8::String> ReadLine() {
char* res; char* res;
{ {
v8::Unlocker unlocker; v8::Unlocker unlocker;
res = fgets(buffer, buffer_size, stdin); res = fgets(buffer, kBufferSize, stdin);
} }
if (res == NULL) { if (res == NULL) {
v8::Handle<v8::Primitive> t = v8::Undefined(); v8::Handle<v8::Primitive> t = v8::Undefined();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment