gentoo-full-overlay/net-libs/nodejs/files/nodejs-v8-3.5.patch

11 lines
440 B
Diff

--- 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--;
}