GeezerVison is showing github.com — src,test: further cleanup references to osx · nodejs/node@19488fd
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: Makefile +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1003,7 +1003,7 @@ else | 1003 | 1003 | BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH) | 1004 | 1004 | endif | 1005 | 1005 | BINARYTAR=$(BINARYNAME).tar | 1006 | | -# OSX doesn't have xz installed by default, http://macpkg.sourceforge.net/ | | 1006 | +# macOS doesn't have xz installed by default, http://macpkg.sourceforge.net/ | 1007 | 1007 | HAS_XZ ?= $(shell command -v xz > /dev/null 2>&1; [ $$? -eq 0 ] && echo 1 || echo 0) | 1008 | 1008 | # Supply SKIP_XZ=1 to explicitly skip .tar.xz creation | 1009 | 1009 | SKIP_XZ ?= 0 | |
Collapse file Copy file name to clipboardExpand all lines: configure.py +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 164 | 164 | dest="fully_static", | 165 | 165 | default=None, | 166 | 166 | help="Generate an executable without external dynamic libraries. This " | 167 | | - "will not work on OSX when using the default compilation environment") | | 167 | + "will not work on macOS when using the default compilation environment") | 168 | 168 |
| 169 | 169 | parser.add_argument("--partly-static", | 170 | 170 | action="store_true", | 171 | 171 | dest="partly_static", | 172 | 172 | default=None, | 173 | 173 | help="Generate an executable with libgcc and libstdc++ libraries. This " | 174 | | - "will not work on OSX when using the default compilation environment") | | 174 | + "will not work on macOS when using the default compilation environment") | 175 | 175 |
| 176 | 176 | parser.add_argument("--enable-vtune-profiling", | 177 | 177 | action="store_true", | @@ -1745,7 +1745,7 @@ def without_ssl_error(option): | 1745 | 1745 | def configure_static(o): | 1746 | 1746 | if options.fully_static or options.partly_static: | 1747 | 1747 | if flavor == 'mac': | 1748 | | - warn("Generation of static executable will not work on OSX " | | 1748 | + warn("Generation of static executable will not work on macOS " | 1749 | 1749 | "when using the default compilation environment") | 1750 | 1750 | return | 1751 | 1751 |
| |
Collapse file Copy file name to clipboardExpand all lines: node.gypi +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 225 | 225 | }], | 226 | 226 |
| 227 | 227 | [ 'OS=="mac"', { | 228 | | - # linking Corefoundation is needed since certain OSX debugging tools | | 228 | + # linking Corefoundation is needed since certain macOS debugging tools | 229 | 229 | # like Instruments require it for some features | 230 | 230 | 'libraries': [ '-framework CoreFoundation' ], | 231 | 231 | 'defines!': [ | |
Collapse file Copy file name to clipboardExpand all lines: src/large_pages/node_large_page.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 48 | 48 | // To move the .text section, perform the following steps: | 49 | 49 | // * Map a new, temporary area and copy the original code there. | 50 | 50 | // * Use mmap using the start address with MAP_FIXED so we get exactly the | 51 | | -// same virtual address (except on OSX). On platforms other than Linux, | | 51 | +// same virtual address (except on macOS). On platforms other than Linux, | 52 | 52 | // use mmap flags to request hugepages. | 53 | 53 | // * On Linux use madvise with MADV_HUGEPAGE to use anonymous 2MB pages. | 54 | 54 | // * If successful copy the code to the newly mapped area and protect it to | |
Collapse file Copy file name to clipboardExpand all lines: src/node_internals.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -362,7 +362,7 @@ bool HasSignalJSHandler(int signum); | 362 | 362 |
| 363 | 363 | #ifdef _WIN32 | 364 | 364 | typedef SYSTEMTIME TIME_TYPE; | 365 | | -#else // UNIX, OSX | | 365 | +#else // UNIX, macOS | 366 | 366 | typedef struct tm TIME_TYPE; | 367 | 367 | #endif | 368 | 368 |
| |
Collapse file Copy file name to clipboardExpand all lines: src/node_report.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -133,7 +133,7 @@ static void WriteNodeReport(Isolate* isolate, | 133 | 133 | tm_struct.wMinute, | 134 | 134 | tm_struct.wSecond); | 135 | 135 | writer.json_keyvalue("dumpEventTime", timebuf); | 136 | | -#else // UNIX, OSX | | 136 | +#else // UNIX, macOS | 137 | 137 | snprintf(timebuf, | 138 | 138 | sizeof(timebuf), | 139 | 139 | "%4d-%02d-%02dT%02d:%02d:%02dZ", | |
Collapse file Copy file name to clipboardExpand all lines: src/util.cc +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -320,7 +320,7 @@ std::vector<char> ReadFileSync(FILE* fp) { | 320 | 320 | void DiagnosticFilename::LocalTime(TIME_TYPE* tm_struct) { | 321 | 321 | #ifdef _WIN32 | 322 | 322 | GetLocalTime(tm_struct); | 323 | | -#else // UNIX, OSX | | 323 | +#else // UNIX, macOS | 324 | 324 | struct timeval time_val; | 325 | 325 | gettimeofday(&time_val, nullptr); | 326 | 326 | localtime_r(&time_val.tv_sec, tm_struct); | @@ -343,7 +343,7 @@ std::string DiagnosticFilename::MakeFilename( | 343 | 343 | oss << "." << std::setfill('0') << std::setw(2) << tm_struct.wHour; | 344 | 344 | oss << std::setfill('0') << std::setw(2) << tm_struct.wMinute; | 345 | 345 | oss << std::setfill('0') << std::setw(2) << tm_struct.wSecond; | 346 | | -#else // UNIX, OSX | | 346 | +#else // UNIX, macOS | 347 | 347 | oss << "." | 348 | 348 | << std::setfill('0') | 349 | 349 | << std::setw(4) | |
Collapse file Copy file name to clipboardExpand all lines: test/common/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 |
|---|
@@ -282,7 +282,7 @@ Platform check for Linux. | 282 | 282 |
| 283 | 283 | Platform check for Linux on PowerPC. | 284 | 284 |
| 285 | | -### `isOSX` | | 285 | +### `isMacOS` | 286 | 286 |
| 287 | 287 | * [\<boolean>][<boolean>] | 288 | 288 |
| |
Collapse file Copy file name to clipboardExpand all lines: test/common/index.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -141,7 +141,7 @@ const isSunOS = process.platform === 'sunos'; | 141 | 141 | const isFreeBSD = process.platform === 'freebsd'; | 142 | 142 | const isOpenBSD = process.platform === 'openbsd'; | 143 | 143 | const isLinux = process.platform === 'linux'; | 144 | | -const isOSX = process.platform === 'darwin'; | | 144 | +const isMacOS = process.platform === 'darwin'; | 145 | 145 | const isASan = process.config.variables.asan === 1; | 146 | 146 | const isPi = (() => { | 147 | 147 | try { | @@ -1003,7 +1003,7 @@ const common = { | 1003 | 1003 | isLinux, | 1004 | 1004 | isMainThread, | 1005 | 1005 | isOpenBSD, | 1006 | | - isOSX, | | 1006 | + isMacOS, | 1007 | 1007 | isPi, | 1008 | 1008 | isSunOS, | 1009 | 1009 | isWindows, | |
Collapse file Copy file name to clipboardExpand all lines: test/common/index.mjs +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -30,7 +30,7 @@ const { | 30 | 30 | isLinuxPPCBE, | 31 | 31 | isMainThread, | 32 | 32 | isOpenBSD, | 33 | | - isOSX, | | 33 | + isMacOS, | 34 | 34 | isSunOS, | 35 | 35 | isWindows, | 36 | 36 | localIPv6Hosts, | @@ -85,7 +85,7 @@ export { | 85 | 85 | isLinuxPPCBE, | 86 | 86 | isMainThread, | 87 | 87 | isOpenBSD, | 88 | | - isOSX, | | 88 | + isMacOS, | 89 | 89 | isSunOS, | 90 | 90 | isWindows, | 91 | 91 | localIPv6Hosts, | |
|