From b4d8c8ab312cb50289ba02b6e3a65856ce0e9168 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Fri, 11 Mar 2016 19:16:43 +0200 Subject: [PATCH] Fix spelling of OSX to OS X --- RELEASES.rst | 4 ++-- config/platforms.yaml | 2 +- doc/code-issues.rst | 2 +- doc/datetime.rst | 4 ++-- doc/performance-sensitive.rst | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/RELEASES.rst b/RELEASES.rst index a2cdc77a..301abf0b 100644 --- a/RELEASES.rst +++ b/RELEASES.rst @@ -683,7 +683,7 @@ Released sigsetjmp() (with savesigs set to 0) can be a lot faster than setjmp() if the platform's setjmp() implementation saves the signal mask (GH-55) -* Default to ``_setjmp`` for long control transfers on OSX/iPhone (when +* Default to ``_setjmp`` for long control transfers on OS X/iPhone (when __APPLE__ is defined) (GH-55) * Add SuperH detection support @@ -1080,7 +1080,7 @@ Released * Remove DUK_OPT_DEEP_C_STACK (and DUK_USE_DEEP_C_STACK) in favor of explicit DUK_USE_xxx config options for native recursion limits; C stacks are assumed - to be deep by default for all targets including OSX/iPhone (GH-165, GH-226) + to be deep by default for all targets including OS X/iPhone (GH-165, GH-226) * Make Proxy internal _Target and _Handler properties immutable (non-writable and non-configurable) (GH-237) diff --git a/config/platforms.yaml b/config/platforms.yaml index c5047159..f3ce4f47 100644 --- a/config/platforms.yaml +++ b/config/platforms.yaml @@ -4,7 +4,7 @@ autodetect: # Platforms for autodetect header. Order matters because some defines # overlap, so rules select for more specific define first. - - name: Mac OSX, iPhone, Darwin + name: Mac OS X, iPhone, Darwin check: DUK_F_APPLE include: platform_apple.h.in - diff --git a/doc/code-issues.rst b/doc/code-issues.rst index 09ca4a14..0a83166a 100644 --- a/doc/code-issues.rst +++ b/doc/code-issues.rst @@ -1327,7 +1327,7 @@ When a pointer itself may be reassigned, the latter is correct, e.g.:: In practice it seems that some compilers have trouble guaranteeing these semantics for variables that are assigned to before ``setjmp()`` and not -changed before ``longjmp()``. For instance, there are crashes on OSX when +changed before ``longjmp()``. For instance, there are crashes on OS X when using ``_setjmp()`` in such cases. These crashes can be eliminated by declaring the variables volatile. (It might be that adding the "volatile" changes the compiler output enough to mask a different bug though.) diff --git a/doc/datetime.rst b/doc/datetime.rst index cea9dae2..42d6828e 100644 --- a/doc/datetime.rst +++ b/doc/datetime.rst @@ -235,8 +235,8 @@ See also: * http://www.gnu.org/software/libc/manual/html_node/Date-and-Time.html#Date-and-Time -OSX / Darwin ------------- +OS X / Darwin +------------- Current implementation uses the same functions as on Linux. diff --git a/doc/performance-sensitive.rst b/doc/performance-sensitive.rst index e7fce942..6984d48a 100644 --- a/doc/performance-sensitive.rst +++ b/doc/performance-sensitive.rst @@ -46,7 +46,7 @@ Suggested feature options - Edit ``DUK_SETJMP``, ``DUK_LONGJMP``, and ``DUK_JMPBUF_TYPE`` to change the setjmp provider. - - On some platforms (e.g. OSX/iPhone) Duktape will automatically use + - On some platforms (e.g. OS X/iPhone) Duktape will automatically use ``_setjmp()``. * Consider enabling "fastints":