From 32a6d87a212c5707f8aa4fae914bf366d11ee4a0 Mon Sep 17 00:00:00 2001 From: JR McEntee Date: Tue, 28 Mar 2017 21:12:04 -0400 Subject: [PATCH] doc: correct markdown file line lengths This commit updates two paragraphs that exceeded the 80 line standard after updating to macOS. Fixes: /~https://github.com/nodejs/node/issues/12086 PR-URL: /~https://github.com/nodejs/node/pull/12106 Backport-PR-URL: /~https://github.com/nodejs/node/pull/12650 Reviewed-By: Vse Mozhet Byt Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Gibson Fahnestock Reviewed-By: James M Snell --- doc/api/fs.md | 6 +++--- doc/api/process.md | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 16ffd5534466d3..461917b85d7488 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1247,9 +1247,9 @@ The kernel ignores the position argument and always appends the data to the end of the file. _Note: The behavior of `fs.open()` is platform specific for some flags. As such, -opening a directory on macOS and Linux with the `'a+'` flag - see example below - -will return an error. In contrast, on Windows and FreeBSD, a file descriptor -will be returned._ +opening a directory on macOS and Linux with the `'a+'` flag - see example +below - will return an error. In contrast, on Windows and FreeBSD, a file +descriptor will be returned._ ```js // macOS and Linux diff --git a/doc/api/process.md b/doc/api/process.md index 197c62f1478ee5..c38badfdf0f27c 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1637,12 +1637,12 @@ the current value of `ps`. *Note*: When a new value is assigned, different platforms will impose different maximum length restrictions on the title. Usually such restrictions are quite -limited. For instance, on Linux and macOS, `process.title` is limited to the size -of the binary name plus the length of the command line arguments because setting -the `process.title` overwrites the `argv` memory of the process. Node.js v0.8 -allowed for longer process title strings by also overwriting the `environ` -memory but that was potentially insecure and confusing in some (rather obscure) -cases. +limited. For instance, on Linux and macOS, `process.title` is limited to the +size of the binary name plus the length of the command line arguments because +setting the `process.title` overwrites the `argv` memory of the process. +Node.js v0.8 allowed for longer process title strings by also overwriting the +`environ` memory but that was potentially insecure and confusing in some +(rather obscure) cases. ## process.umask([mask])