Systemd/src
Rasmus Villemoes 020003f235 string-util: simplify logic in strjoin_real()
The loops over (x, then all varargs, until a NULL is found) can be written much
simpler with an ordinary for loop. Just initialize the loop variable to x, test
that, and in the increment part, fetch the next va_arg(). That removes a level
of indentation, and avoids doing a separate strlen()/stpcpy() call for x.

While touching this code anyway, change (size_t)-1 to the more readable
SIZE_MAX.
2020-11-03 14:25:28 +01:00
..
ac-power
activate various: remove assignments of unread variables 2020-09-22 17:58:11 +02:00
analyze tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
ask-password
backlight various: remove assignments of unread variables 2020-09-22 17:58:11 +02:00
basic string-util: simplify logic in strjoin_real() 2020-11-03 14:25:28 +01:00
binfmt
boot boot/efi: Explicitly specify void in parameter list 2020-10-06 22:29:57 +02:00
busctl busctl: add missing shortopt -l 2020-09-15 09:38:10 +02:00
cgls bus: use bus_log_connect_error to print error message 2020-07-21 10:02:01 +09:00
cgroups-agent
cgtop tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
core unit: don't emit PropertiesChanged signal if adding a dependency to a unit is a no-op 2020-10-07 18:16:08 +02:00
coredump coredump: use uid_is_system() when appropriate 2020-09-25 17:18:56 +02:00
cryptsetup Merge pull request #17154 from keszybz/crypttab-commas 2020-10-01 10:26:24 +02:00
debug-generator
delta Merge pull request #16635 from keszybz/do-not-for-each-word 2020-09-09 17:43:38 +02:00
detect-virt
dissect dissect-image: process /usr/ GPT partition type 2020-09-19 21:19:51 +02:00
environment-d-generator
escape tree-wide: correct cases where return log_{error,warning} is used without value 2020-09-08 17:40:46 +02:00
firstboot Add a helper function that does make_salt+crypt_r 2020-09-15 09:30:56 +02:00
fsck
fstab-generator fstab-generator: add 'nofail' when NFS 'bg' option is used 2020-09-15 16:24:01 +02:00
fuzz
getty-generator getty-generator: use extract_first_word() 2020-09-09 09:34:54 +02:00
gpt-auto-generator dissect: wrap verity settings in new VeritySettings structure 2020-09-17 20:36:23 +09:00
hibernate-resume
home homed: explicitly deactivate all home directories on shutdown 2020-09-30 14:37:52 +02:00
hostname tree-wide: don't needlessly negate error number passed to bus_error_message() 2020-09-14 21:42:22 +02:00
hwdb
id128
import Add CLOSE_AND_REPLACE helper 2020-09-18 15:28:48 +02:00
initctl tree-wide: don't needlessly negate error number passed to bus_error_message() 2020-09-14 21:42:22 +02:00
journal Move {uid,gid}_is_*() from basic to shared 2020-09-25 17:18:56 +02:00
journal-remote Removing unused n_fields in journal-gatewayd 2020-09-28 12:18:17 +02:00
kernel-install Merge pull request #16777 from DaanDeMeyer/kernel-install-followup 2020-08-25 09:30:44 +02:00
libsystemd sd-netlink: introduce sd_netlink_message_read_data() 2020-10-08 02:51:23 +09:00
libsystemd-network tree-wide: coccinelle fixes 2020-10-04 12:32:21 +02:00
libudev tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
locale tree-wide: don't needlessly negate error number passed to bus_error_message() 2020-09-14 21:42:22 +02:00
login loginctl: add -P as short for --value --property= 2020-09-30 10:25:06 +02:00
machine tree-wide: port remaining umount() calls to umount_verbose() 2020-09-23 18:57:37 +02:00
machine-id-setup
modules-load
mount bus: use bus_log_connect_error to print error message 2020-07-21 10:02:01 +09:00
network network: introduce IPV4_ADDRESS_FMT_STR macro 2020-10-08 02:51:23 +09:00
notify
nspawn nspawn: don't chown() stdin/stdout passed in when --console=pipe is used 2020-10-02 12:05:08 +02:00
nss-myhostname
nss-mymachines
nss-resolve nss-resolve: port over to new varlink interface 2020-08-26 16:48:16 +02:00
nss-systemd shared: merge {user,group}-record-nss.{c,h} 2020-09-01 16:48:40 +02:00
partition Merge pull request #17172 from keszybz/read-login-defs 2020-10-02 11:01:30 +02:00
path sd-path: include 'search' in search pathnames 2020-09-23 10:08:44 +02:00
portable dissect: wrap verity settings in new VeritySettings structure 2020-09-17 20:36:23 +09:00
pstore
quotacheck
random-seed
rc-local-generator meson: RC_LOCAL_SCRIPT_PATH_START to RC_LOCAL_PATH 2020-09-15 17:44:26 +02:00
remount-fs
reply-password
resolve Document some reasonable DNS servers in the example config file 2020-10-07 11:38:07 +02:00
rfkill
run run: let systemd resolve the path with RootDirectory=/RootImage= 2020-09-23 14:49:37 +02:00
run-generator
shared Merge pull request #17279 from poettering/systemctl-split-up 2020-10-08 10:17:29 +02:00
shutdown shutdown: also fsync() DM devices before going down 2020-09-23 18:33:48 +02:00
sleep sleep: reword some debug messages 2020-09-08 17:40:46 +02:00
socket-proxy socket-proxy: port to new sd_event_source_set_exit_on_failure() API 2020-10-07 09:40:05 +02:00
stdio-bridge
sulogin-shell
sysctl tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
system-update-generator
systemctl systemctl: split up humungous systemctl.c file 2020-10-07 23:12:15 +02:00
systemd sd-netlink: introduce sd_netlink_message_read_data() 2020-10-08 02:51:23 +09:00
sysusers Merge pull request #17172 from keszybz/read-login-defs 2020-10-02 11:01:30 +02:00
sysv-generator tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
test test: add test that validates that PTR_TO_INT(INT_TO_PTR()) covers whole int range 2020-10-07 09:40:09 +02:00
time-wait-sync basic/time-util: add function to format timestamps with different styles 2020-08-19 15:30:13 +01:00
timedate Replace gendered pronouns with gender neutral ones. (#16844) 2020-08-27 11:52:48 +09:00
timesync timesyncd: don't attempt to call IP_TOS sockopt on IPv6 sockets 2020-09-11 10:16:39 +02:00
tmpfiles tree-wide: fix typos found by codespell 2020-09-14 15:32:37 +02:00
tty-ask-password-agent tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
udev udev: make use of NULL callback in IO handlers 2020-10-07 09:40:32 +02:00
update-done tree-wide: correct cases where return log_{error,warning} is used without value 2020-09-08 17:40:46 +02:00
update-utmp tree-wide: correct cases where return log_{error,warning} is used without value 2020-09-08 17:40:46 +02:00
user-sessions
userdb shared: merge {user,group}-record-nss.{c,h} 2020-09-01 16:48:40 +02:00
vconsole vconsole-setup: downgrade log message when setting font fails on dummy console 2020-07-20 08:15:50 +02:00
veritysetup shared: rename crypt-util.c → cryptsetup-util.c 2020-09-02 15:00:32 +02:00
version
volatile-root mount-util: rework umount_verbose() to take log level and flags arg 2020-09-23 18:57:36 +02:00
xdg-autostart-generator Rename find_binary to find_executable 2020-09-18 15:28:48 +02:00