From: Jason St. John Date: Thu, 20 Feb 2014 23:09:27 +0000 (-0500) Subject: replace tabs with spaces in some files X-Git-Tag: v210~95 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=90e633a7901060063e62bf53948c4c239a9f55d1;hp=eef65bf3ee6f73afa4a5de23ae3a794a279f30c0;ds=sidebyside replace tabs with spaces in some files Files: * hwdb/60-keyboard.hwdb * shell-completion/zsh/_systemd-coredumpctl * src/test/test-helper.h --- diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index 9eb460c48..edfa842d8 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -76,7 +76,7 @@ keyboard:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:pvr* # Acer platform kernel driver keyboard:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnAcer*:pvr* - KEYBOARD_KEY_82=f21 # Touchpad toggle + KEYBOARD_KEY_82=f21 # Touchpad toggle # Aspire models keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*:pvr* @@ -138,7 +138,7 @@ keyboard:dmi:bvn*:bvr*:bd*:svnASUS:pn* KEYBOARD_KEY_ef=mute keyboard:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:pvr* - KEYBOARD_KEY_6b=f21 # Touchpad Toggle + KEYBOARD_KEY_6b=f21 # Touchpad Toggle ########################################################### # BenQ diff --git a/shell-completion/zsh/_systemd-coredumpctl b/shell-completion/zsh/_systemd-coredumpctl index 159e8ee0e..94b1e92f5 100644 --- a/shell-completion/zsh/_systemd-coredumpctl +++ b/shell-completion/zsh/_systemd-coredumpctl @@ -14,8 +14,8 @@ _systemd-coredumpctl_command(){ local -a _dumps cmd="${${_systemd_coredumpctl_cmds[(r)$words[1]:*]%%:*}}" if (( $#cmd )); then - # user can set zstyle ':completion:*:*:systemd-coredumpctl:*' sort no for coredumps to be ordered by date, otherwise they get ordered by pid - _dumps=( "${(foa)$(systemd-coredumpctl list | awk 'BEGIN{OFS=":"} /^\s/ {sub(/[[ \t]+/, ""); print $5,$0}' 2>/dev/null)}" ) + # user can set zstyle ':completion:*:*:systemd-coredumpctl:*' sort no for coredumps to be ordered by date, otherwise they get ordered by pid + _dumps=( "${(foa)$(systemd-coredumpctl list | awk 'BEGIN{OFS=":"} /^\s/ {sub(/[[ \t]+/, ""); print $5,$0}' 2>/dev/null)}" ) if [[ -n "$_dumps" ]]; then _describe -t pids 'coredumps' _dumps else diff --git a/src/test/test-helper.h b/src/test/test-helper.h index 92864edb5..f75dd3374 100644 --- a/src/test/test-helper.h +++ b/src/test/test-helper.h @@ -24,8 +24,8 @@ #include "sd-daemon.h" #define TEST_REQ_RUNNING_SYSTEMD(x) \ - if (sd_booted() > 0) { \ - x; \ + if (sd_booted() > 0) { \ + x; \ } else { \ printf("systemd not booted skipping '%s'\n", #x); \ }