diff options
Diffstat (limited to 'net-libs/nodejs/files/nodejs-v8-3.5.patch')
-rw-r--r-- | net-libs/nodejs/files/nodejs-v8-3.5.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/nodejs/files/nodejs-v8-3.5.patch b/net-libs/nodejs/files/nodejs-v8-3.5.patch new file mode 100644 index 000000000000..87a8eeda0a57 --- /dev/null +++ b/net-libs/nodejs/files/nodejs-v8-3.5.patch @@ -0,0 +1,11 @@ +--- src/node_buffer.cc 2011-10-25 08:45:00.665600749 +0200 ++++ src/node_buffer.cc 2011-10-25 08:45:31.168622565 +0200 +@@ -478,7 +478,7 @@ + + if (written > 0 && p[written-1] == '\0' && char_written == length) { + uint16_t last_char; +- s->Write(&last_char, length - 1, 1, String::NO_HINTS); ++ s->Write(&last_char, length - 1, 1, String::NO_OPTIONS); + if (last_char != 0 || written > s->Utf8Length()) { + written--; + } |