Systemd/src
Peter Hutterer 36afca67b6 udevadm hwdb: discard extra leading whitespaces in hwdb
Currently a property in the form of
  FOO=bar
is stored as " FOO=bar", i.e. the property name contains a leading space.
That's quite hard to spot.

This patch discards all extra whitespaces but the first one which is required
by libudev's hwdb_add_property.

[zj: modify the check a bit]

https://bugs.freedesktop.org/show_bug.cgi?id=82311
2014-11-28 14:30:50 -05:00
..
ac-power treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
activate treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
analyze treewide: more log_*_errno + return simplifications 2014-11-28 18:24:30 +01:00
ask-password ask-password: Add --echo to enable echoing the user input 2014-10-05 15:29:41 -04:00
backlight treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
binfmt treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
boot Unify parse_argv style 2014-08-03 21:46:07 -04:00
bootchart treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
bus-proxyd sd-bus: rename sd_bus_get_owner_id() → sd_bus_get_bus_id() 2014-11-28 20:29:43 +01:00
cgls treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
cgroups-agent treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
cgtop treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
compat-libs
console treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
core mount: constify MountParameters 2014-11-28 14:30:50 -05:00
cryptsetup treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
dbus1-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
debug-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
delta treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
detect-virt treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
efi-boot-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
escape Unify parse_argv style 2014-08-03 21:46:07 -04:00
firstboot treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
fsck treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
fstab-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
getty-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
gpt-auto-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
gudev
hibernate-resume treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
hostname treewide: more log_*_errno + return simplifications 2014-11-28 18:24:30 +01:00
initctl treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journal coredump: simplify a few things by allocating small fields on the stack rather than heap 2014-11-28 20:29:44 +01:00
journal-remote treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
kernel-install kernel-install/90-loaderentry.install: fix cmdline parsing 2014-11-01 14:39:48 -04:00
libsystemd sd-bus: add support for matches against arrays of strings in messages 2014-11-28 20:29:44 +01:00
libsystemd-network treewide: more log_*_errno + return simplifications 2014-11-28 18:24:30 +01:00
libsystemd-terminal treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
libudev treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
locale treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
login treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
machine treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
machine-id-setup Unify parse_argv style 2014-08-03 21:46:07 -04:00
modules-load treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
network treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
notify treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
nspawn treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
nss-myhostname networkd: add minimal client tool "networkd" to query network status 2014-08-12 01:54:40 +02:00
nss-mymachines nss: remove dead code 2014-09-19 00:15:39 +02:00
nss-resolve nss: remove dead code 2014-09-19 00:15:39 +02:00
path treewide: yet more log_*_errno + return simplifications 2014-11-28 18:56:16 +01:00
python-systemd python-systemd: avoid hitting assert in __exit__ 2014-10-14 08:35:16 -04:00
quotacheck treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
random-seed treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
rc-local-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
remount-fs treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
reply-password treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
resolve treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
resolve-host treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
rfkill treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
run treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
shared treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
shutdownd treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
sleep treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
socket-proxy treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
sysctl treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
system-update-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
systemctl treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
systemd sd-bus: make more connection properties readable 2014-11-28 20:29:43 +01:00
sysusers treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
sysv-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
test treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
timedate treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
timesync treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
tmpfiles treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
tty-ask-password-agent treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
udev udevadm hwdb: discard extra leading whitespaces in hwdb 2014-11-28 14:30:50 -05:00
update-done udev,update-done: more log_xyz_errno() conversions 2014-11-28 16:32:26 +01:00
update-utmp treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
vconsole treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
.gitignore
Makefile