Change gendered terms to be gender-neutral (#21325)
Some typos are also fixed.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user