summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2020-08-05 16:17:30 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2020-08-05 16:17:30 +0000
commit32e999e3347e7d38339a05ed862c6db1514a5afe (patch)
tree431c3e3744807b5b37923d8c2af7552250c47e25 /build
parentf9cf399f73042ebe4eadfcecfb449c65b21258d2 (diff)
downloadapr-32e999e3347e7d38339a05ed862c6db1514a5afe.tar.gz
Correctly observe links as distinct from files to avoid modifying them.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1880611 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/lineends.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/lineends.pl b/build/lineends.pl
index bdbaa76b9..58386cc02 100644
--- a/build/lineends.pl
+++ b/build/lineends.pl
@@ -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;