From 5634e8331cb8782944a258a12e1f9857dfb1c8e1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 11 Aug 2021 11:26:18 +0000 Subject: lei: attempt to canonicalize away "/../" pathnames As documented, File::Spec->canonpath does not canonicalize "/../". While we want to do our best to preserve symlinks in pathnames, leaving "/../" can mislead our inotify|kqueue usage. --- lib/PublicInbox/LeiUp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/LeiUp.pm') diff --git a/lib/PublicInbox/LeiUp.pm b/lib/PublicInbox/LeiUp.pm index 9069232b..3356d11e 100644 --- a/lib/PublicInbox/LeiUp.pm +++ b/lib/PublicInbox/LeiUp.pm @@ -42,7 +42,7 @@ sub up1 ($$) { } $lei->{lss} = $lss; # for LeiOverview->new my $lxs = $lei->lxs_prepare or return; - $lei->ale->refresh_externals($lxs); + $lei->ale->refresh_externals($lxs, $lei); $lei->_start_query; } -- cgit v1.2.3-24-ge0c7