Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2eea850

Browse files
danielbayleymarco-ippolito
authored andcommitted
src,test: further cleanup references to osx
PR-URL:#53820Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>Reviewed-By: Michaël Zasso <targos@protonmail.com>Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parente352a4e commit2eea850

File tree

36 files changed

+48
-48
lines changed

36 files changed

+48
-48
lines changed

‎Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ else
10031003
BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)
10041004
endif
10051005
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/
10071007
HAS_XZ ?=$(shell command -v xz > /dev/null 2>&1; [$$? -eq 0 ] && echo 1 || echo 0)
10081008
# Supply SKIP_XZ=1 to explicitly skip .tar.xz creation
10091009
SKIP_XZ ?= 0

‎configure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@
163163
dest="fully_static",
164164
default=None,
165165
help="Generate an executable without external dynamic libraries. This "
166-
"will not work onOSX when using the default compilation environment")
166+
"will not work onmacOS when using the default compilation environment")
167167

168168
parser.add_argument("--partly-static",
169169
action="store_true",
170170
dest="partly_static",
171171
default=None,
172172
help="Generate an executable with libgcc and libstdc++ libraries. This "
173-
"will not work onOSX when using the default compilation environment")
173+
"will not work onmacOS when using the default compilation environment")
174174

175175
parser.add_argument("--enable-vtune-profiling",
176176
action="store_true",
@@ -1682,7 +1682,7 @@ def without_ssl_error(option):
16821682
defconfigure_static(o):
16831683
ifoptions.fully_staticoroptions.partly_static:
16841684
ifflavor=='mac':
1685-
warn("Generation of static executable will not work onOSX "
1685+
warn("Generation of static executable will not work onmacOS "
16861686
"when using the default compilation environment")
16871687
return
16881688

‎node.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
}],
218218

219219
['OS=="mac"', {
220-
# linking Corefoundation is needed since certainOSX debugging tools
220+
# linking Corefoundation is needed since certainmacOS debugging tools
221221
# like Instruments require it for some features
222222
'libraries': ['-framework CoreFoundation' ],
223223
'defines!': [

‎src/large_pages/node_large_page.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
// To move the .text section, perform the following steps:
4949
// * Map a new, temporary area and copy the original code there.
5050
// * Use mmap using the start address with MAP_FIXED so we get exactly the
51-
// same virtual address (except onOSX). On platforms other than Linux,
51+
// same virtual address (except onmacOS). On platforms other than Linux,
5252
// use mmap flags to request hugepages.
5353
// * On Linux use madvise with MADV_HUGEPAGE to use anonymous 2MB pages.
5454
// * If successful copy the code to the newly mapped area and protect it to

‎src/node_internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ bool HasSignalJSHandler(int signum);
363363

364364
#ifdef _WIN32
365365
typedef SYSTEMTIME TIME_TYPE;
366-
#else// UNIX,OSX
366+
#else// UNIX,macOS
367367
typedefstructtm TIME_TYPE;
368368
#endif
369369

‎src/node_report.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static void WriteNodeReport(Isolate* isolate,
133133
tm_struct.wMinute,
134134
tm_struct.wSecond);
135135
writer.json_keyvalue("dumpEventTime", timebuf);
136-
#else// UNIX,OSX
136+
#else// UNIX,macOS
137137
snprintf(timebuf,
138138
sizeof(timebuf),
139139
"%4d-%02d-%02dT%02d:%02d:%02dZ",

‎src/util.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ std::vector<char> ReadFileSync(FILE* fp) {
316316
voidDiagnosticFilename::LocalTime(TIME_TYPE* tm_struct) {
317317
#ifdef _WIN32
318318
GetLocalTime(tm_struct);
319-
#else// UNIX,OSX
319+
#else// UNIX,macOS
320320
structtimeval time_val;
321321
gettimeofday(&time_val,nullptr);
322322
localtime_r(&time_val.tv_sec, tm_struct);
@@ -339,7 +339,7 @@ std::string DiagnosticFilename::MakeFilename(
339339
oss <<"." <<std::setfill('0') <<std::setw(2) << tm_struct.wHour;
340340
oss <<std::setfill('0') <<std::setw(2) << tm_struct.wMinute;
341341
oss <<std::setfill('0') <<std::setw(2) << tm_struct.wSecond;
342-
#else// UNIX,OSX
342+
#else// UNIX,macOS
343343
oss <<"."
344344
<<std::setfill('0')
345345
<<std::setw(4)

‎test/common/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Platform check for Linux.
282282

283283
Platform check for Linux on PowerPC.
284284

285-
###`isOSX`
285+
###`isMacOS`
286286

287287
*[\<boolean>][<boolean>]
288288

‎test/common/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const isSunOS = process.platform === 'sunos';
141141
constisFreeBSD=process.platform==='freebsd';
142142
constisOpenBSD=process.platform==='openbsd';
143143
constisLinux=process.platform==='linux';
144-
constisOSX=process.platform==='darwin';
144+
constisMacOS=process.platform==='darwin';
145145
constisASan=process.config.variables.asan===1;
146146
constisPi=(()=>{
147147
try{
@@ -981,7 +981,7 @@ const common = {
981981
isLinux,
982982
isMainThread,
983983
isOpenBSD,
984-
isOSX,
984+
isMacOS,
985985
isPi,
986986
isSunOS,
987987
isWindows,

‎test/common/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const {
3030
isLinuxPPCBE,
3131
isMainThread,
3232
isOpenBSD,
33-
isOSX,
33+
isMacOS,
3434
isSunOS,
3535
isWindows,
3636
localIPv6Hosts,
@@ -85,7 +85,7 @@ export {
8585
isLinuxPPCBE,
8686
isMainThread,
8787
isOpenBSD,
88-
isOSX,
88+
isMacOS,
8989
isSunOS,
9090
isWindows,
9191
localIPv6Hosts,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp