]> Sergey Matveev's repositories - public-inbox.git/commit
lei_to_mail: cwd-agnostic Maildir wakeup
authorEric Wong <e@80x24.org>
Fri, 23 Apr 2021 08:06:12 +0000 (04:06 -0400)
committerEric Wong <e@80x24.org>
Fri, 23 Apr 2021 11:24:11 +0000 (07:24 -0400)
commit0831cd4c510deb97e755aa09a808bcf5f9e9deeb
treeaf2ca8416ae217eb4a2c991c0dc5b741ad73f13e
parent7632d8f7590daf70c65d4270e750c36552fa9389
lei_to_mail: cwd-agnostic Maildir wakeup

Since we don't have *at() syscalls readily available to us,
lei-daemon may call ->poke_dst in the wrong relative directory.
Despite not having *at() syscalls, we can still capture the
"$MAILDIR/cur" directory handle at pre_augment time so we can
reliably call futimes(2) on it using the `utime' perlop.
lib/PublicInbox/LeiToMail.pm