lkml.org 
[lkml]   [2011]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] [TRIVIAL] Remove invalid vi modeline
From
Date
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
0) Opening lib/decompress_bunzip2.c with vim triggers this warning:
"lib/decompress_bunzip2.c" 756L, 24002C
Error detected while processing modelines:
line 1:
E521: Number required after =: sw =
Press ENTER or type command to continue

1) Since the Linux kernel coding style disallows modelines this invalid
modeline can simply be removed. But perhaps you prefer a (series of)
patch(es) that removes all modelines. A quick grep of the tree suggests
that will be a lot of (tedious) work. But it's up to you, of course.

2) vim tested only.

lib/decompress_bunzip2.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/decompress_bunzip2.c b/lib/decompress_bunzip2.c
index a7b80c1..7ed5e32 100644
--- a/lib/decompress_bunzip2.c
+++ b/lib/decompress_bunzip2.c
@@ -1,4 +1,3 @@
-/* vi: set sw = 4 ts = 4: */
/* Small bzip2 deflate implementation, by Rob Landley (rob@landley.net).

Based on bzip2 decompression code by Julian R Seward (jseward@acm.org),
--
1.7.7.3


\
 
 \ /
  Last update: 2011-12-05 13:09    [W:0.053 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site