]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Change gendered terms to be gender-neutral (#21325)
authorEmily Gonyer <emilyyrose@gmail.com>
Fri, 12 Nov 2021 15:09:56 +0000 (10:09 -0500)
committerGitHub <noreply@github.com>
Fri, 12 Nov 2021 15:09:56 +0000 (16:09 +0100)
Some typos are also fixed.

docs/CODING_STYLE.md
docs/PREDICTABLE_INTERFACE_NAMES.md
man/sd_bus_add_object.xml
src/core/manager.h
src/hostname/hostnamectl.c
src/libsystemd/sd-bus/bus-socket.c
src/libsystemd/sd-bus/sd-bus.c
src/udev/dmi_memory_id/dmi_memory_id.c

index 4792f270c59ef678c18a971d60002cedc1939980..34e04ed735a17779906af98539e137f3d800d076 100644 (file)
@@ -297,7 +297,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
   with a more brutal `assert()`. We are more forgiving to public users than for
   ourselves! Note that `assert()` and `assert_return()` really only should be
   used for detecting programming errors, not for runtime errors. `assert()` and
-  `assert_return()` by usage of `_likely_()` inform the compiler that he should
+  `assert_return()` by usage of `_likely_()` inform the compiler that it should
   not expect these checks to fail, and they inform fellow programmers about the
   expected validity and range of parameters.
 
index ddd7d29643d488749e8d27355b65b485883c4062..ae16d7211de14e4d0ab1b857ec522de5966f84e0 100644 (file)
@@ -54,7 +54,7 @@ With this new scheme you now get:
 * The same on all distributions that adopted systemd/udev
 * It's easy to opt out of the scheme (see below)
 
-Does this have any drawbacks? Yes, it does. Previously it was practically guaranteed that hosts equipped with a single ethernet card only had a single `eth0` interface. With this new scheme in place, an administrator now has to check first what the local interface name is before he can invoke commands on it where previously he had a good chance that `eth0` was the right name.
+Does this have any drawbacks? Yes, it does. Previously it was practically guaranteed that hosts equipped with a single ethernet card only had a single `eth0` interface. With this new scheme in place, an administrator now has to check first what the local interface name is before they can invoke commands on it, where previously they had a good chance that `eth0` was the right name.
 
 
 ## I don't like this, how do I disable this?
index 31a3344bbd7629315c37323a0e15c7d716dd8ff5..54683e4f118d8c7dc4896319001e28d850f7a99d 100644 (file)
         <varlistentry>
           <term><constant>SD_BUS_VTABLE_METHOD_NO_REPLY</constant></term>
 
-          <listitem><para>Mark his vtable entry as a method that will not return a reply using the
+          <listitem><para>Mark this vtable entry as a method that will not return a reply using the
           <constant>org.freedesktop.DBus.Method.NoReply</constant> annotation in introspection data.
           </para></listitem>
         </varlistentry>
index c9230cb5c41b123c2f39f649f8da21d101b790b1..a6b27c377725e99f2bfc1cb879f642fc101a4731 100644 (file)
@@ -195,7 +195,7 @@ struct Manager {
 
         sd_event *event;
 
-        /* This maps PIDs we care about to units that are interested in. We allow multiple units to he interested in
+        /* This maps PIDs we care about to units that are interested in. We allow multiple units to be interested in
          * the same PID and multiple PIDs to be relevant to the same unit. Since in most cases only a single unit will
          * be interested in the same PID we use a somewhat special encoding here: the first unit interested in a PID is
          * stored directly in the hashmap, keyed by the PID unmodified. If there are other units interested too they'll
index 26869a8d71e788f657e0dd99681708c1448acb72..b525aaa642f699272bdef4bffb9e831434edbebf 100644 (file)
@@ -442,7 +442,7 @@ static int set_hostname(int argc, char **argv, void *userdata) {
                  * dot if there is one. If it was not valid, then it will be made fully valid by truncating, dropping
                  * multiple dots, and dropping weird chars. Note that we clean the name up only if we also are
                  * supposed to set the pretty name. If the pretty name is not being set we assume the user knows what
-                 * he does and pass the name as-is. */
+                 * they are doing and pass the name as-is. */
                 h = strdup(hostname);
                 if (!h)
                         return log_oom();
index a603764c27ec6994970fcf4bf92730b80a6d7f86..bce123ae1c6b904d6e3e8507c79924b762d08b12 100644 (file)
@@ -301,8 +301,8 @@ static int verify_external_token(sd_bus *b, const char *p, size_t l) {
         uid_t u;
         int r;
 
-        /* We don't do any real authentication here. Instead, we if
-         * the owner of this bus wanted authentication he should have
+        /* We don't do any real authentication here. Instead, if 
+         * the owner of this bus wanted authentication they should have
          * checked SO_PEERCRED before even creating the bus object. */
 
         if (!b->anonymous_auth && !b->ucred_valid)
index 968b37e826ad13d8d9a327af916fe453ad86d939..9e1d29cc1d0c851de65182b6184a19660828ed13 100644 (file)
@@ -3283,7 +3283,7 @@ static int bus_poll(sd_bus *bus, bool need_more, uint64_t timeout_usec) {
                         return e;
 
                 if (need_more)
-                        /* The caller really needs some more data, he doesn't
+                        /* The caller really needs some more data, they don't
                          * care about what's already read, or any timeouts
                          * except its own. */
                         e |= POLLIN;
index 14b893ae8f88010df57064cf68912f9e7dbac92e..67861cd3642bc1af8c34386795bea2dbd1534e6f 100644 (file)
@@ -539,7 +539,7 @@ static void dmi_table_decode(const uint8_t *buf, size_t len, uint16_t num) {
 
                 /* If a short entry is found (less than 4 bytes), not only it
                  * is invalid, but we cannot reliably locate the next entry.
-                 * Better stop at this point, and let the user know his/her
+                 * Better stop at this point, and let the user know their
                  * table is broken. */
                 if (h.length < 4)
                         break;