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

Issue 200014: Modifies write() so that NULs are allowed within a string....

Created:
11 years, 3 months ago by abdulla
Modified:
11 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Modifies write() so that NULs are allowed within a string. This is required by the mandelbrot test in the language shootout.

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M src/d8.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
abdulla
11 years, 3 months ago (2009-09-04 00:52:16 UTC) #1
Christian Plesner Hansen
Lgtm.
11 years, 3 months ago (2009-09-04 07:40:07 UTC) #2
Christian Plesner Hansen
Landed in http://code.google.com/p/v8/source/detail?r=2821.
11 years, 3 months ago (2009-09-04 07:50:36 UTC) #3
diakopter
This is wrong (and breaks print()/write()); the new line needs to be: fwrite(*str, 1, str.length(), ...
11 years, 3 months ago (2009-09-04 15:03:06 UTC) #4
diakopter
11 years, 3 months ago (2009-09-04 15:04:04 UTC) #5
This commit broke print()/write()... The new line needs to be

fwrite(*str, 1, str.length(), stdout);

Powered by Google App Engine
This is Rietveld 408576698