This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=cbce633cde3f5f7f0c1987a1e676b248054b7f7c

commit cbce633cde3f5f7f0c1987a1e676b248054b7f7c
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Sun Sep 3 01:27:56 2023 +0200

    doc: Use macOS instead of Mac OS X in code comments
---
 lib/dpkg/fdio.c | 2 +-
 lib/dpkg/i18n.c | 2 +-
 src/main/help.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/dpkg/fdio.c b/lib/dpkg/fdio.c
index 8e61b5d88..b50322bad 100644
--- a/lib/dpkg/fdio.c
+++ b/lib/dpkg/fdio.c
@@ -109,7 +109,7 @@ fd_allocate_size(int fd, off_t offset, off_t len)
                return 0;
 
 #if defined(HAVE_F_PREALLOCATE)
-       /* On Mac OS X. */
+       /* On macOS. */
        fstore_t fs;
 
        fd_preallocate_setup(&fs, F_ALLOCATECONTIG, offset, len);
diff --git a/lib/dpkg/i18n.c b/lib/dpkg/i18n.c
index cec00eea9..30e28bffc 100644
--- a/lib/dpkg/i18n.c
+++ b/lib/dpkg/i18n.c
@@ -43,7 +43,7 @@ dpkg_locales_init(const char *package)
 
 #if defined(__APPLE__) && defined(__MACH__)
        /*
-        * On Mac OS X, the libintl code needs to call into the CoreFoundation
+        * On macOS, the libintl code needs to call into the CoreFoundation
         * framework, which is internally threaded, to initialize some caches.
         * This is a problem when that first call is done after a fork(3),
         * because per POSIX, only one thread will survive, leaving the
diff --git a/src/main/help.c b/src/main/help.c
index e81466938..1cecfc065 100644
--- a/src/main/help.c
+++ b/src/main/help.c
@@ -86,7 +86,7 @@ void checkpath(void) {
     TAR,
     DIFF,
     BACKEND,
-    /* Mac OS X uses dyld (Mach-O) instead of ld.so (ELF), and does not have
+    /* macOS uses dyld (Mach-O) instead of ld.so (ELF), and does not have
      * an ldconfig. */
 #if defined(__APPLE__) && defined(__MACH__)
     "update_dyld_shared_cache",

-- 
Dpkg.Org's dpkg

Reply via email to