From 7b291184da473267bd4ee456e1d0acc61da7e5c4 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 9 Jul 2018 18:01:13 +0300 Subject: [PATCH] Use https://nodejs.org URL when possible. --- src/node_buffer.cc | 2 +- src/string_bytes.cc | 4 ++-- tools/msvs/msi/product.wxs | 2 +- tools/pkgsrc/description | 2 +- tools/rpm/node.spec | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 9eb351b443a111..6e25889d6e4a25 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -483,7 +483,7 @@ void StringSlice(const FunctionCallbackInfo& args) { bool release = false; // Node's "ucs2" encoding expects LE character data inside a Buffer, so we - // need to reorder on BE platforms. See http://nodejs.org/api/buffer.html + // need to reorder on BE platforms. See https://nodejs.org/api/buffer.html // regarding Node's "ucs2" encoding specification. const bool aligned = (reinterpret_cast(data) % sizeof(*buf) == 0); if (IsLittleEndian() && !aligned) { diff --git a/src/string_bytes.cc b/src/string_bytes.cc index 0bc2ec044ebb55..83c74d2f182021 100644 --- a/src/string_bytes.cc +++ b/src/string_bytes.cc @@ -343,7 +343,7 @@ size_t StringBytes::Write(Isolate* isolate, // Node's "ucs2" encoding wants LE character data stored in // the Buffer, so we need to reorder on BE platforms. See - // http://nodejs.org/api/buffer.html regarding Node's "ucs2" + // https://nodejs.org/api/buffer.html regarding Node's "ucs2" // encoding specification if (IsBigEndian()) SwapBytes16(buf, nbytes); @@ -709,7 +709,7 @@ MaybeLocal StringBytes::Encode(Isolate* isolate, // Node's "ucs2" encoding expects LE character data inside a // Buffer, so we need to reorder on BE platforms. See - // http://nodejs.org/api/buffer.html regarding Node's "ucs2" + // https://nodejs.org/api/buffer.html regarding Node's "ucs2" // encoding specification if (IsBigEndian()) { uint16_t* dst = node::UncheckedMalloc(buflen); diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs index c8a89d725509db..e9e4e33751d254 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -254,7 +254,7 @@ KeyPath="yes"/>