about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiRediff.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-07 21:24:08 +0000
committerEric Wong <e@80x24.org>2023-10-08 18:54:47 +0000
commit1661ff8e21f3cb1df1a3fc00d917f404f4eae734 (patch)
treebd2d06840b241b5f4546688fa07b1bf7790f4222 /lib/PublicInbox/LeiRediff.pm
parent27423677034478018a202e5ddff02c5d2e0de061 (diff)
downloadpublic-inbox-1661ff8e21f3cb1df1a3fc00d917f404f4eae734.tar.gz
Since we deal with pipes (of either direction) and bidirectional
stream sockets for this class, it's better to remove the `Pipe'
from the name and replace it with `IO' to communicate that it
works for any form of IO::Handle-like object tied to a process.
Diffstat (limited to 'lib/PublicInbox/LeiRediff.pm')
-rw-r--r--lib/PublicInbox/LeiRediff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiRediff.pm b/lib/PublicInbox/LeiRediff.pm
index a886931c..b894342b 100644
--- a/lib/PublicInbox/LeiRediff.pm
+++ b/lib/PublicInbox/LeiRediff.pm
@@ -152,7 +152,7 @@ sub requote ($$) {
         # $^X (perl) is overkill, but maybe there's a weird system w/o sed
         my ($w, $pid) = popen_wr([$^X, '-pe', "s/^/$pfx/"], $lei->{env}, $opt);
         $w->autoflush(1);
-        binmode $w, ':utf8'; # incompatible with ProcessPipe due to syswrite
+        binmode $w, ':utf8'; # incompatible with ProcessIO due to syswrite
         $lei->{1} = $w;
         PublicInbox::OnDestroy->new(\&wait_requote, $lei, $pid, $old_1);
 }