summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2018-11-27 11:40:49 +0100
committerBartosz Kosiorek <gang65@poczta.onet.pl>2018-11-29 14:08:26 +0100
commit9c0d40fbc7d01ff46b78b798361bf3a19cc18bdc (patch)
treea2afd07ced2da313c5cdc6183bb1ea7e832d9a7e /onlineupdate
parenta55d15e27f4290b9aaf5597161b2b3c5200d3f85 (diff)
Rename Mac OS X to official name macOS in comments and documentation
Change-Id: I651b7f202fa52ff5f5357a11aa72c43eb7dc7f95 Reviewed-on: https://gerrit.libreoffice.org/64102 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/update/updater/updater.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx
index a4d31bdb0eb2..3cd4aa890aa0 100644
--- a/onlineupdate/source/update/updater/updater.cxx
+++ b/onlineupdate/source/update/updater/updater.cxx
@@ -709,7 +709,7 @@ static int ensure_copy(const NS_tchar *path, const NS_tchar *dest)
}
// This block size was chosen pretty arbitrarily but seems like a reasonable
- // compromise. For example, the optimal block size on a modern OS X machine
+ // compromise. For example, the optimal block size on a modern macOS machine
// is 100k */
const int blockSize = 32 * 1024;
void* buffer = malloc(blockSize);
@@ -2524,7 +2524,7 @@ ProcessReplaceRequest()
}
#ifdef MACOSX
- // On OS X, we need to remove the staging directory after its Contents
+ // On macOS, we need to remove the staging directory after its Contents
// directory has been moved.
NS_tchar updatedAppDir[MAXPATHLEN];
NS_tsnprintf(updatedAppDir, sizeof(updatedAppDir)/sizeof(updatedAppDir[0]),
@@ -2794,7 +2794,7 @@ UpdateThreadFunc(void * /*param*/)
{
#ifdef MACOSX
// If the update was successful we need to update the timestamp on the
- // top-level Mac OS X bundle directory so that Mac OS X's Launch Services
+ // top-level macOS bundle directory so that macOS's Launch Services
// picks up any major changes when the bundle is updated.
if (!sStagedUpdate && utimes(gInstallDirPath, nullptr) != 0)
{