]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: avoid tabs that failed syntax-check
authorEric Blake <eblake@redhat.com>
Thu, 6 Sep 2012 15:42:35 +0000 (09:42 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 6 Sep 2012 15:43:46 +0000 (09:43 -0600)
Introduced in commit f299ddd6.

* src/check-symfile.pl: Fix whitespace.
* .dir-locals.el (perl-mode): Prevent future occurrences.

.dir-locals.el
src/check-symfile.pl

index c10603ccb3e26808bd7d2bd77f70fdeb2708f645..a27908f5da1b5d5d90940c32a087d7c879db3f3a 100644 (file)
@@ -14,4 +14,7 @@
  (nxml-mode . (
               (indent-tabs-mode . nil)
               ))
+ (perl-mode . (
+              (indent-tabs-mode . nil)
+              ))
  )
index c0b7ec75735ce49df32b4808bc732fb036f4c154..ac37b4614b518b42b1398a24a7cb09366802031c 100755 (executable)
@@ -24,10 +24,10 @@ while (<SYMFILE>) {
     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;