diff options
author | JR McEntee <jrmce12@gmail.com> | 2017-03-28 21:12:04 -0400 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-04-04 10:14:32 -0700 |
commit | 6ebc806a47c0485d329151ca8d5079e0756299bd (patch) | |
tree | 8a786ce859d5ddbe17934f7f65f58eeee456ebac /doc | |
parent | 7a5d07c7fbd43f3645d7f707fd6a98f2a251bdbd (diff) | |
download | android-node-v8-6ebc806a47c0485d329151ca8d5079e0756299bd.tar.gz android-node-v8-6ebc806a47c0485d329151ca8d5079e0756299bd.tar.bz2 android-node-v8-6ebc806a47c0485d329151ca8d5079e0756299bd.zip |
doc: correct markdown file line lengths
This commit updates two paragraphs that exceeded the 80 line standard
after updating to macOS.
PR-URL: https://github.com/nodejs/node/pull/12106
Fixes: https://github.com/nodejs/node/issues/12086
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/fs.md | 6 | ||||
-rw-r--r-- | 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 51f92be93e..a839b09fb2 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1374,9 +1374,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 2aea28545a..6759b457b3 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1631,12 +1631,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]) <!-- YAML |