Browse Source

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>
v6
JR McEntee 8 years ago
committed by James M Snell
parent
commit
6ebc806a47
  1. 6
      doc/api/fs.md
  2. 12
      doc/api/process.md

6
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. the end of the file.
_Note: The behavior of `fs.open()` is platform specific for some flags. As such, _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 - opening a directory on macOS and Linux with the `'a+'` flag - see example
will return an error. In contrast, on Windows and FreeBSD, a file descriptor below - will return an error. In contrast, on Windows and FreeBSD, a file
will be returned._ descriptor will be returned._
```js ```js
// macOS and Linux // macOS and Linux

12
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 *Note*: When a new value is assigned, different platforms will impose different
maximum length restrictions on the title. Usually such restrictions are quite 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 limited. For instance, on Linux and macOS, `process.title` is limited to the
of the binary name plus the length of the command line arguments because setting size of the binary name plus the length of the command line arguments because
the `process.title` overwrites the `argv` memory of the process. Node.js v0.8 setting the `process.title` overwrites the `argv` memory of the process.
allowed for longer process title strings by also overwriting the `environ` Node.js v0.8 allowed for longer process title strings by also overwriting the
memory but that was potentially insecure and confusing in some (rather obscure) `environ` memory but that was potentially insecure and confusing in some
cases. (rather obscure) cases.
## process.umask([mask]) ## process.umask([mask])
<!-- YAML <!-- YAML

Loading…
Cancel
Save