GeezerVison is showing github.com — doc: change Mac OS X to macOS · nodejs/node@db4aef4
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: BUILDING.md +6-6Lines changed: 6 additions & 6 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -74,7 +74,7 @@ Depending on host platform, the selection of toolchains may vary. | 74 | 74 |
| 75 | 75 | ## Building Node.js on supported platforms | 76 | 76 |
| 77 | | -### Unix / OS X | | 77 | +### Unix / macOS | 78 | 78 |
| 79 | 79 | Prerequisites: | 80 | 80 |
| @@ -83,7 +83,7 @@ Prerequisites: | 83 | 83 | * Python 2.6 or 2.7 | 84 | 84 | * GNU Make 3.81 or newer | 85 | 85 |
| 86 | | -On OS X, you will also need: | | 86 | +On macOS, you will also need: | 87 | 87 | * [Xcode](https://developer.apple.com/xcode/download/) | 88 | 88 | - You also need to install the `Command Line Tools` via Xcode. You can find | 89 | 89 | this under the menu `Xcode -> Preferences -> Downloads` | @@ -237,7 +237,7 @@ With the `--download=all`, this may download ICU if you don't have an | 237 | 237 | ICU in `deps/icu`. (The embedded `small-icu` included in the default | 238 | 238 | Node.js source does not include all locales.) | 239 | 239 |
| 240 | | -##### Unix / OS X: | | 240 | +##### Unix / macOS: | 241 | 241 |
| 242 | 242 | ```console | 243 | 243 | $ ./configure --with-intl=full-icu --download=all | @@ -254,7 +254,7 @@ $ ./configure --with-intl=full-icu --download=all | 254 | 254 | The `Intl` object will not be available, nor some other APIs such as | 255 | 255 | `String.normalize`. | 256 | 256 |
| 257 | | -##### Unix / OS X: | | 257 | +##### Unix / macOS: | 258 | 258 |
| 259 | 259 | ```console | 260 | 260 | $ ./configure --without-intl | @@ -266,7 +266,7 @@ $ ./configure --without-intl | 266 | 266 | > .\vcbuild nosign without-intl | 267 | 267 | ``` | 268 | 268 |
| 269 | | -#### Use existing installed ICU (Unix / OS X only): | | 269 | +#### Use existing installed ICU (Unix / macOS only): | 270 | 270 |
| 271 | 271 | ```console | 272 | 272 | $ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu | @@ -282,7 +282,7 @@ You can find other ICU releases at | 282 | 282 | Download the file named something like `icu4c-**##.#**-src.tgz` (or | 283 | 283 | `.zip`). | 284 | 284 |
| 285 | | -##### Unix / OS X | | 285 | +##### Unix / macOS | 286 | 286 |
| 287 | 287 | From an already-unpacked ICU: | 288 | 288 | ```console | |
Collapse file Copy file name to clipboardExpand all lines: CONTRIBUTING.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -155,7 +155,7 @@ Bug fixes and features **should come with tests**. Add your tests in the | 155 | 155 | project, see this [guide](./doc/guides/writing-tests.md). Looking at other tests | 156 | 156 | to see how they should be structured can also help. | 157 | 157 |
| 158 | | -To run the tests on Unix / OS X: | | 158 | +To run the tests on Unix / macOS: | 159 | 159 |
| 160 | 160 | ```text | 161 | 161 | $ ./configure && make -j4 test | |
Collapse file Copy file name to clipboardExpand all lines: doc/STYLE_GUIDE.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 39 | 39 | * When documenting APIs, note the version the API was introduced in at | 40 | 40 | the end of the section. If an API has been deprecated, also note the first | 41 | 41 | version that the API appeared deprecated in. | 42 | | -* When using dashes, use emdashes ("—", Ctrl+Alt+"-" on OSX) surrounded by | | 42 | +* When using dashes, use emdashes ("—", Ctrl+Alt+"-" on macOS) surrounded by | 43 | 43 | spaces, per the New York Times usage. | 44 | 44 | * Including assets: | 45 | 45 | * If you wish to add an illustration or full program, add it to the | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/child_process.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -75,7 +75,7 @@ when the child process terminates. | 75 | 75 |
| 76 | 76 | The importance of the distinction between [`child_process.exec()`][] and | 77 | 77 | [`child_process.execFile()`][] can vary based on platform. On Unix-type operating | 78 | | -systems (Unix, Linux, OSX) [`child_process.execFile()`][] can be more efficient | | 78 | +systems (Unix, Linux, macOS) [`child_process.execFile()`][] can be more efficient | 79 | 79 | because it does not spawn a shell. On Windows, however, `.bat` and `.cmd` | 80 | 80 | files are not executable on their own without a terminal, and therefore cannot | 81 | 81 | be launched using [`child_process.execFile()`][]. When running on Windows, `.bat` | @@ -417,7 +417,7 @@ child.on('error', (err) => { | 417 | 417 | }); | 418 | 418 | ``` | 419 | 419 |
| 420 | | -*Note: Certain platforms (OS X, Linux) will use the value of `argv[0]` for the | | 420 | +*Note: Certain platforms (macOS, Linux) will use the value of `argv[0]` for the | 421 | 421 | process title while others (Windows, SunOS) will use `command`.* | 422 | 422 |
| 423 | 423 | *Note: Node.js currently overwrites `argv[0]` with `process.execPath` on | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/documentation.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -73,11 +73,11 @@ like `fs.open()`, will document that. The docs link to the corresponding man | 73 | 73 | pages (short for manual pages) which describe how the syscalls work. | 74 | 74 |
| 75 | 75 | **Caveat:** some syscalls, like lchown(2), are BSD-specific. That means, for | 76 | | -example, that `fs.lchown()` only works on Mac OS X and other BSD-derived systems, | | 76 | +example, that `fs.lchown()` only works on macOS and other BSD-derived systems, | 77 | 77 | and is not available on Linux. | 78 | 78 |
| 79 | 79 | Most Unix syscalls have Windows equivalents, but behavior may differ on Windows | 80 | | -relative to Linux and OS X. For an example of the subtle ways in which it's | | 80 | +relative to Linux and macOS. For an example of the subtle ways in which it's | 81 | 81 | sometimes impossible to replace Unix syscall semantics on Windows, see [Node | 82 | 82 | issue 4760](https://github.com/nodejs/node/issues/4760). | 83 | 83 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/errors.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -523,7 +523,7 @@ found [here][online]. | 523 | 523 | [file descriptors][] allowable on the system has been reached, and | 524 | 524 | requests for another descriptor cannot be fulfilled until at least one | 525 | 525 | has been closed. This is encountered when opening many files at once in | 526 | | - parallel, especially on systems (in particular, OS X) where there is a low | | 526 | + parallel, especially on systems (in particular, macOS) where there is a low | 527 | 527 | file descriptor limit for processes. To remedy a low limit, run | 528 | 528 | `ulimit -n 2048` in the same shell that will run the Node.js process. | 529 | 529 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/fs.md +6-6Lines changed: 6 additions & 6 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1000,7 +1000,7 @@ deprecated: v0.4.7 | 1000 | 1000 | Asynchronous lchmod(2). No arguments other than a possible exception | 1001 | 1001 | are given to the completion callback. | 1002 | 1002 |
| 1003 | | -Only available on Mac OS X. | | 1003 | +Only available on macOS. | 1004 | 1004 |
| 1005 | 1005 | ## fs.lchmodSync(path, mode) | 1006 | 1006 | <!-- YAML | @@ -1247,12 +1247,12 @@ The kernel ignores the position argument and always appends the data to | 1247 | 1247 | the end of the file. | 1248 | 1248 |
| 1249 | 1249 | _Note: The behavior of `fs.open()` is platform specific for some flags. As such, | 1250 | | -opening a directory on OS X and Linux with the `'a+'` flag - see example below - | | 1250 | +opening a directory on macOS and Linux with the `'a+'` flag - see example below - | 1251 | 1251 | will return an error. In contrast, on Windows and FreeBSD, a file descriptor | 1252 | 1252 | will be returned._ | 1253 | 1253 |
| 1254 | 1254 | ```js | 1255 | | -// OS X and Linux | | 1255 | +// macOS and Linux | 1256 | 1256 | fs.open('<directory>', 'a+', (err, fd) => { | 1257 | 1257 | // => [Error: EISDIR: illegal operation on a directory, open <directory>] | 1258 | 1258 | }); | @@ -1717,7 +1717,7 @@ Also note the listener callback is attached to the `'change'` event fired by | 1717 | 1717 | The `fs.watch` API is not 100% consistent across platforms, and is | 1718 | 1718 | unavailable in some situations. | 1719 | 1719 |
| 1720 | | -The recursive option is only supported on OS X and Windows. | | 1720 | +The recursive option is only supported on macOS and Windows. | 1721 | 1721 |
| 1722 | 1722 | #### Availability | 1723 | 1723 |
| @@ -1728,7 +1728,7 @@ to be notified of filesystem changes. | 1728 | 1728 |
| 1729 | 1729 | * On Linux systems, this uses [`inotify`] | 1730 | 1730 | * On BSD systems, this uses [`kqueue`] | 1731 | | -* On OS X, this uses [`kqueue`] for files and [`FSEvents`] for directories. | | 1731 | +* On macOS, this uses [`kqueue`] for files and [`FSEvents`] for directories. | 1732 | 1732 | * On SunOS systems (including Solaris and SmartOS), this uses [`event ports`]. | 1733 | 1733 | * On Windows systems, this feature depends on [`ReadDirectoryChangesW`]. | 1734 | 1734 | * On Aix systems, this feature depends on [`AHAFS`], which must be enabled. | @@ -1746,7 +1746,7 @@ less reliable. | 1746 | 1746 |
| 1747 | 1747 | <!--type=misc--> | 1748 | 1748 |
| 1749 | | -On Linux and OS X systems, `fs.watch()` resolves the path to an [inode][] and | | 1749 | +On Linux and macOS systems, `fs.watch()` resolves the path to an [inode][] and | 1750 | 1750 | watches the inode. If the watched path is deleted and recreated, it is assigned | 1751 | 1751 | a new inode. The watch will emit an event for the delete but will continue | 1752 | 1752 | watching the *original* inode. Events for the new inode will not be emitted. | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/os.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -358,7 +358,7 @@ added: v0.3.3 | 358 | 358 | * Returns: {String} | 359 | 359 |
| 360 | 360 | The `os.type()` method returns a string identifying the operating system name | 361 | | -as returned by uname(3). For example `'Linux'` on Linux, `'Darwin'` on OS X and | | 361 | +as returned by uname(3). For example `'Linux'` on Linux, `'Darwin'` on macOS and | 362 | 362 | `'Windows_NT'` on Windows. | 363 | 363 |
| 364 | 364 | Please see https://en.wikipedia.org/wiki/Uname#Examples for additional | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/process.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1637,7 +1637,7 @@ the current value of `ps`. | 1637 | 1637 |
| 1638 | 1638 | *Note*: When a new value is assigned, different platforms will impose different | 1639 | 1639 | maximum length restrictions on the title. Usually such restrictions are quite | 1640 | | -limited. For instance, on Linux and OS X, `process.title` is limited to the size | | 1640 | +limited. For instance, on Linux and macOS, `process.title` is limited to the size | 1641 | 1641 | of the binary name plus the length of the command line arguments because setting | 1642 | 1642 | the `process.title` overwrites the `argv` memory of the process. Node.js v0.8 | 1643 | 1643 | allowed for longer process title strings by also overwriting the `environ` | |
Collapse file Copy file name to clipboardExpand all lines: test/README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -266,7 +266,7 @@ Platform check for Linux on PowerPC. | 266 | 266 | ### isOSX | 267 | 267 | * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | 268 | 268 |
| 269 | | -Platform check for OS X. | | 269 | +Platform check for macOS. | 270 | 270 |
| 271 | 271 | ### isSunOS | 272 | 272 | * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | |
|