apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1880611 - /apr/apr/trunk/build/lineends.pl
Date Wed, 05 Aug 2020 16:17:31 GMT
Author: wrowe
Date: Wed Aug  5 16:17:30 2020
New Revision: 1880611

URL: http://svn.apache.org/viewvc?rev=1880611&view=rev
Log:
Correctly observe links as distinct from files to avoid modifying them.


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?rev=1880611&r1=1880610&r2=1880611&view=diff
==============================================================================
--- apr/apr/trunk/build/lineends.pl (original)
+++ apr/apr/trunk/build/lineends.pl Wed Aug  5 16:17:30 2020
@@ -104,7 +104,7 @@ sub totxt {
             }
         }
         return if ($File::Find::dir =~ m|^(.+/)?(\.svn\|\.git)(/.+)?$|);
-        @ostat = stat($oname);
+        @ostat = lstat($oname);
         return if (!S_ISREG($ostat[2]));
         $srcfl = new IO::File $oname, "r" or die;
         $dstfl = new IO::File $tname, "w" or die;



Mime
View raw message