Skip to content

Commit db4aef4

Browse files
JR McEnteeMylesBorins
authored andcommitted
doc: change Mac OS X to macOS
This update changes references to "Mac OS X", "OS X", and "OSX" in markdown files to "macOS". Fixes: #12086 PR-URL: #12106 Backport-PR-URL: #12650 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>
1 parent e9f33e3 commit db4aef4

File tree

10 files changed

+22
-22
lines changed

10 files changed

+22
-22
lines changed

BUILDING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Depending on host platform, the selection of toolchains may vary.
7474

7575
## Building Node.js on supported platforms
7676

77-
### Unix / OS X
77+
### Unix / macOS
7878

7979
Prerequisites:
8080

@@ -83,7 +83,7 @@ Prerequisites:
8383
* Python 2.6 or 2.7
8484
* GNU Make 3.81 or newer
8585

86-
On OS X, you will also need:
86+
On macOS, you will also need:
8787
* [Xcode](https://developer.apple.com/xcode/download/)
8888
- You also need to install the `Command Line Tools` via Xcode. You can find
8989
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
237237
ICU in `deps/icu`. (The embedded `small-icu` included in the default
238238
Node.js source does not include all locales.)
239239

240-
##### Unix / OS X:
240+
##### Unix / macOS:
241241

242242
```console
243243
$ ./configure --with-intl=full-icu --download=all
@@ -254,7 +254,7 @@ $ ./configure --with-intl=full-icu --download=all
254254
The `Intl` object will not be available, nor some other APIs such as
255255
`String.normalize`.
256256

257-
##### Unix / OS X:
257+
##### Unix / macOS:
258258

259259
```console
260260
$ ./configure --without-intl
@@ -266,7 +266,7 @@ $ ./configure --without-intl
266266
> .\vcbuild nosign without-intl
267267
```
268268

269-
#### Use existing installed ICU (Unix / OS X only):
269+
#### Use existing installed ICU (Unix / macOS only):
270270

271271
```console
272272
$ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
@@ -282,7 +282,7 @@ You can find other ICU releases at
282282
Download the file named something like `icu4c-**##.#**-src.tgz` (or
283283
`.zip`).
284284

285-
##### Unix / OS X
285+
##### Unix / macOS
286286

287287
From an already-unpacked ICU:
288288
```console

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Bug fixes and features **should come with tests**. Add your tests in the
155155
project, see this [guide](./doc/guides/writing-tests.md). Looking at other tests
156156
to see how they should be structured can also help.
157157

158-
To run the tests on Unix / OS X:
158+
To run the tests on Unix / macOS:
159159

160160
```text
161161
$ ./configure && make -j4 test

doc/STYLE_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* When documenting APIs, note the version the API was introduced in at
4040
the end of the section. If an API has been deprecated, also note the first
4141
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
4343
spaces, per the New York Times usage.
4444
* Including assets:
4545
* If you wish to add an illustration or full program, add it to the

doc/api/child_process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ when the child process terminates.
7575

7676
The importance of the distinction between [`child_process.exec()`][] and
7777
[`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
7979
because it does not spawn a shell. On Windows, however, `.bat` and `.cmd`
8080
files are not executable on their own without a terminal, and therefore cannot
8181
be launched using [`child_process.execFile()`][]. When running on Windows, `.bat`
@@ -417,7 +417,7 @@ child.on('error', (err) => {
417417
});
418418
```
419419

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
421421
process title while others (Windows, SunOS) will use `command`.*
422422

423423
*Note: Node.js currently overwrites `argv[0]` with `process.execPath` on

doc/api/documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ like `fs.open()`, will document that. The docs link to the corresponding man
7373
pages (short for manual pages) which describe how the syscalls work.
7474

7575
**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,
7777
and is not available on Linux.
7878

7979
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
8181
sometimes impossible to replace Unix syscall semantics on Windows, see [Node
8282
issue 4760](https://github.com/nodejs/node/issues/4760).
8383

doc/api/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ found [here][online].
523523
[file descriptors][] allowable on the system has been reached, and
524524
requests for another descriptor cannot be fulfilled until at least one
525525
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
527527
file descriptor limit for processes. To remedy a low limit, run
528528
`ulimit -n 2048` in the same shell that will run the Node.js process.
529529

doc/api/fs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ deprecated: v0.4.7
10001000
Asynchronous lchmod(2). No arguments other than a possible exception
10011001
are given to the completion callback.
10021002

1003-
Only available on Mac OS X.
1003+
Only available on macOS.
10041004

10051005
## fs.lchmodSync(path, mode)
10061006
<!-- YAML
@@ -1247,12 +1247,12 @@ The kernel ignores the position argument and always appends the data to
12471247
the end of the file.
12481248

12491249
_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 -
12511251
will return an error. In contrast, on Windows and FreeBSD, a file descriptor
12521252
will be returned._
12531253

12541254
```js
1255-
// OS X and Linux
1255+
// macOS and Linux
12561256
fs.open('<directory>', 'a+', (err, fd) => {
12571257
// => [Error: EISDIR: illegal operation on a directory, open <directory>]
12581258
});
@@ -1717,7 +1717,7 @@ Also note the listener callback is attached to the `'change'` event fired by
17171717
The `fs.watch` API is not 100% consistent across platforms, and is
17181718
unavailable in some situations.
17191719

1720-
The recursive option is only supported on OS X and Windows.
1720+
The recursive option is only supported on macOS and Windows.
17211721

17221722
#### Availability
17231723

@@ -1728,7 +1728,7 @@ to be notified of filesystem changes.
17281728

17291729
* On Linux systems, this uses [`inotify`]
17301730
* 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.
17321732
* On SunOS systems (including Solaris and SmartOS), this uses [`event ports`].
17331733
* On Windows systems, this feature depends on [`ReadDirectoryChangesW`].
17341734
* On Aix systems, this feature depends on [`AHAFS`], which must be enabled.
@@ -1746,7 +1746,7 @@ less reliable.
17461746

17471747
<!--type=misc-->
17481748

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
17501750
watches the inode. If the watched path is deleted and recreated, it is assigned
17511751
a new inode. The watch will emit an event for the delete but will continue
17521752
watching the *original* inode. Events for the new inode will not be emitted.

doc/api/os.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ added: v0.3.3
358358
* Returns: {String}
359359

360360
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
362362
`'Windows_NT'` on Windows.
363363

364364
Please see https://en.wikipedia.org/wiki/Uname#Examples for additional

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@ the current value of `ps`.
16371637

16381638
*Note*: When a new value is assigned, different platforms will impose different
16391639
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
16411641
of the binary name plus the length of the command line arguments because setting
16421642
the `process.title` overwrites the `argv` memory of the process. Node.js v0.8
16431643
allowed for longer process title strings by also overwriting the `environ`

test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Platform check for Linux on PowerPC.
266266
### isOSX
267267
* return [&lt;Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type)
268268

269-
Platform check for OS X.
269+
Platform check for macOS.
270270

271271
### isSunOS
272272
* return [&lt;Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type)

0 commit comments

Comments
 (0)