mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
Replace gendered pronouns with gender neutral ones. (#16844)
This commit is contained in:
parent
33e1a5d8d3
commit
e8607daf7d
@ -196,8 +196,8 @@ The currently used part of the file is the **header_size** plus the
|
|||||||
**arena_size** field of the header. If a writer needs to write to a file where
|
**arena_size** field of the header. If a writer needs to write to a file where
|
||||||
the actual file size on disk is smaller than the reported value it shall
|
the actual file size on disk is smaller than the reported value it shall
|
||||||
immediately rotate the file and start a new one. If a writer is asked to write
|
immediately rotate the file and start a new one. If a writer is asked to write
|
||||||
to a file with a header that is shorter than his own definition of the struct
|
to a file with a header that is shorter than its own definition of the struct
|
||||||
Header, he shall immediately rotate the file and start a new one.
|
Header, it shall immediately rotate the file and start a new one.
|
||||||
|
|
||||||
The **n_objects** field contains a counter for objects currently available in
|
The **n_objects** field contains a counter for objects currently available in
|
||||||
this file. As objects are appended to the end of the file this counter is
|
this file. As objects are appended to the end of the file this counter is
|
||||||
|
@ -21,7 +21,7 @@ struct LookupPaths {
|
|||||||
char **search_path;
|
char **search_path;
|
||||||
|
|
||||||
/* Where we shall create or remove our installation symlinks, aka "configuration", and where the user/admin
|
/* Where we shall create or remove our installation symlinks, aka "configuration", and where the user/admin
|
||||||
* shall place his own unit files. */
|
* shall place their own unit files. */
|
||||||
char *persistent_config;
|
char *persistent_config;
|
||||||
char *runtime_config;
|
char *runtime_config;
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ int procfs_tasks_set_limit(uint64_t limit) {
|
|||||||
|
|
||||||
if (limit == 0) /* This makes no sense, we are userspace and hence count as tasks too, and we want to live,
|
if (limit == 0) /* This makes no sense, we are userspace and hence count as tasks too, and we want to live,
|
||||||
* hence the limit conceptually has to be above 0. Also, most likely if anyone asks for a zero
|
* hence the limit conceptually has to be above 0. Also, most likely if anyone asks for a zero
|
||||||
* limit he/she probably means "no limit", hence let's better refuse this to avoid
|
* limit they probably mean "no limit", hence let's better refuse this to avoid
|
||||||
* confusion. */
|
* confusion. */
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
@ -412,7 +412,7 @@ static int acquire_path(const char *path, int flags, mode_t mode) {
|
|||||||
|
|
||||||
if (connect(fd, &sa.sa, sa_len) < 0)
|
if (connect(fd, &sa.sa, sa_len) < 0)
|
||||||
return errno == EINVAL ? -ENXIO : -errno; /* Propagate initial error if we get EINVAL, i.e. we have
|
return errno == EINVAL ? -ENXIO : -errno; /* Propagate initial error if we get EINVAL, i.e. we have
|
||||||
* indication that his wasn't an AF_UNIX socket after all */
|
* indication that this wasn't an AF_UNIX socket after all */
|
||||||
|
|
||||||
if ((flags & O_ACCMODE) == O_RDONLY)
|
if ((flags & O_ACCMODE) == O_RDONLY)
|
||||||
r = shutdown(fd, SHUT_WR);
|
r = shutdown(fd, SHUT_WR);
|
||||||
|
@ -1337,7 +1337,7 @@ static int parse_argv(int argc, char *argv[]) {
|
|||||||
return log_oom();
|
return log_oom();
|
||||||
|
|
||||||
/* If the user asked for a particular
|
/* If the user asked for a particular
|
||||||
* property, show it to him, even if it is
|
* property, show it to them, even if it is
|
||||||
* empty. */
|
* empty. */
|
||||||
arg_all = true;
|
arg_all = true;
|
||||||
break;
|
break;
|
||||||
|
@ -2672,7 +2672,7 @@ static int parse_argv(int argc, char *argv[]) {
|
|||||||
return log_oom();
|
return log_oom();
|
||||||
|
|
||||||
/* If the user asked for a particular
|
/* If the user asked for a particular
|
||||||
* property, show it to him, even if it is
|
* property, show it to them, even if it is
|
||||||
* empty. */
|
* empty. */
|
||||||
arg_all = true;
|
arg_all = true;
|
||||||
break;
|
break;
|
||||||
|
@ -1005,7 +1005,7 @@ static int parse_argv(int argc, char *argv[]) {
|
|||||||
return log_oom();
|
return log_oom();
|
||||||
|
|
||||||
/* If the user asked for a particular
|
/* If the user asked for a particular
|
||||||
* property, show it to him, even if it is
|
* property, show it to them, even if it is
|
||||||
* empty. */
|
* empty. */
|
||||||
arg_all = true;
|
arg_all = true;
|
||||||
break;
|
break;
|
||||||
|
@ -186,7 +186,7 @@ static int dev_pci_onboard(sd_device *dev, struct netnames *names) {
|
|||||||
/* Some BIOSes report rubbish indexes that are excessively high (2^24-1 is an index VMware likes to
|
/* Some BIOSes report rubbish indexes that are excessively high (2^24-1 is an index VMware likes to
|
||||||
* report for example). Let's define a cut-off where we don't consider the index reliable anymore. We
|
* report for example). Let's define a cut-off where we don't consider the index reliable anymore. We
|
||||||
* pick some arbitrary cut-off, which is somewhere beyond the realistic number of physical network
|
* pick some arbitrary cut-off, which is somewhere beyond the realistic number of physical network
|
||||||
* interface a system might have. Ideally the kernel would already filter his crap for us, but it
|
* interface a system might have. Ideally the kernel would already filter this crap for us, but it
|
||||||
* doesn't currently. */
|
* doesn't currently. */
|
||||||
if (idx > ONBOARD_INDEX_MAX)
|
if (idx > ONBOARD_INDEX_MAX)
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
|
Loading…
Reference in New Issue
Block a user