[PVFS2-CVS] commit by neill in pvfs2/maint: TEMPLATE_FORMAT_TRAILER.txt pvfs2codecheck.pl pvfs2fixbadformat.pl

CVS commit program cvs at parl.clemson.edu
Wed Jul 28 11:32:28 EDT 2004


Update of /projects/cvsroot/pvfs2/maint
In directory parlweb:/tmp/cvs-serv5554/maint

Modified Files:
	TEMPLATE_FORMAT_TRAILER.txt pvfs2codecheck.pl 
	pvfs2fixbadformat.pl 
Log Message:
- applied Nathan's expandtab patch (expandtab-2.patch.gz)
  
  first referenced at:
  http://www.beowulf-underground.org/pipermail/pvfs2-developers/2004-July/000745.html


Index: TEMPLATE_FORMAT_TRAILER.txt
===================================================================
RCS file: /projects/cvsroot/pvfs2/maint/TEMPLATE_FORMAT_TRAILER.txt,v
diff -p -u -r1.2 -r1.3
--- TEMPLATE_FORMAT_TRAILER.txt	2 Apr 2003 16:53:29 -0000	1.2
+++ TEMPLATE_FORMAT_TRAILER.txt	28 Jul 2004 14:32:28 -0000	1.3
@@ -5,5 +5,5 @@
  *  c-basic-offset: 4
  * End:
  *
- * vim: ts=8 sts=4 sw=4 noexpandtab
+ * vim: ts=8 sts=4 sw=4 expandtab
  */

Index: pvfs2codecheck.pl
===================================================================
RCS file: /projects/cvsroot/pvfs2/maint/pvfs2codecheck.pl,v
diff -p -u -r1.2 -r1.3
--- pvfs2codecheck.pl	2 Apr 2003 19:25:13 -0000	1.2
+++ pvfs2codecheck.pl	28 Jul 2004 14:32:28 -0000	1.3
@@ -32,7 +32,7 @@ foreach $file (@files) {
 	if (/c-indent-level: 4/) {
 	    $has_emacs_c_indent_level++;
 	}
-	if (/vim: ts=8 sts=4 sw=4 noexpandtab/) {
+	if (/vim: ts=8 sts=4 sw=4 expandtab/) {
 	    $has_vim_formatting++;
 	}
 	if (/See COPYING in top-level directory/) {

Index: pvfs2fixbadformat.pl
===================================================================
RCS file: /projects/cvsroot/pvfs2/maint/pvfs2fixbadformat.pl,v
diff -p -u -r1.1 -r1.2
--- pvfs2fixbadformat.pl	2 Apr 2003 17:16:43 -0000	1.1
+++ pvfs2fixbadformat.pl	28 Jul 2004 14:32:28 -0000	1.2
@@ -15,11 +15,11 @@ foreach $file (@files) {
 
     while (<INFD>) {
 	if (/vim: /) {
-	    if (/vim: ts=8 sts=4 sw=4 noexpandtab/) {
+	    if (/vim: ts=8 sts=4 sw=4 expandtab/) {
 		print OUTFD $_;
 	    }
 	    else {
-		print OUTFD " * vim: ts=8 sts=4 sw=4 noexpandtab\n";
+		print OUTFD " * vim: ts=8 sts=4 sw=4 expandtab\n";
 		$modified = 1;
 	    }
 	}



More information about the PVFS2-CVS mailing list