apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r494336 - /apr/apr/trunk/build/lineends.pl
Date Tue, 09 Jan 2007 07:33:06 GMT
Author: wrowe
Date: Mon Jan  8 23:33:05 2007
New Revision: 494336

URL: http://svn.apache.org/viewvc?view=rev&rev=494336
Log:
.svn/ files should never be touched.

Modified:
    apr/apr/trunk/build/lineends.pl

Modified: apr/apr/trunk/build/lineends.pl
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/lineends.pl?view=diff&rev=494336&r1=494335&r2=494336
==============================================================================
--- apr/apr/trunk/build/lineends.pl (original)
+++ apr/apr/trunk/build/lineends.pl Mon Jan  8 23:33:05 2007
@@ -102,13 +102,14 @@
                 }
 	    }
         }
+        return if ($File::Find::dir =~ m|^(.+/)?.svn(/.+)?$|);
 	@ostat = stat($oname);
         $srcfl = new IO::File $oname, "r" or die;
 	$dstfl = new IO::File $tname, "w" or die;
         binmode $srcfl; 
 	if ($notnative) {
             binmode $dstfl;
-	} 
+	}
 	undef $t;
         while (<$srcfl>) { 
             if (s/(\r*)\n$/\n/) {



Mime
View raw message