From: Eric Blake Date: Thu, 6 Sep 2012 15:42:35 +0000 (-0600) Subject: build: avoid tabs that failed syntax-check X-Git-Tag: CVE-2012-4423~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a14aec5f29073b07a84188849a9cba95090588;p=thirdparty%2Flibvirt.git build: avoid tabs that failed syntax-check Introduced in commit f299ddd6. * src/check-symfile.pl: Fix whitespace. * .dir-locals.el (perl-mode): Prevent future occurrences. --- diff --git a/.dir-locals.el b/.dir-locals.el index c10603ccb3..a27908f5da 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -14,4 +14,7 @@ (nxml-mode . ( (indent-tabs-mode . nil) )) + (perl-mode . ( + (indent-tabs-mode . nil) + )) ) diff --git a/src/check-symfile.pl b/src/check-symfile.pl index c0b7ec7573..ac37b4614b 100755 --- a/src/check-symfile.pl +++ b/src/check-symfile.pl @@ -24,10 +24,10 @@ while () { die "malformed line $_" unless /^\s*(\S+);$/; if (exists $wantsyms{$1}) { - print STDERR "Symbol $1 is listed twice\n"; - $ret = 1; + print STDERR "Symbol $1 is listed twice\n"; + $ret = 1; } else { - $wantsyms{$1} = 1; + $wantsyms{$1} = 1; } } close SYMFILE;