diff options
author | Eric Wong <e@80x24.org> | 2023-10-07 21:24:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-10-08 18:54:47 +0000 |
commit | 1661ff8e21f3cb1df1a3fc00d917f404f4eae734 (patch) | |
tree | bd2d06840b241b5f4546688fa07b1bf7790f4222 /lib/PublicInbox/LeiRediff.pm | |
parent | 27423677034478018a202e5ddff02c5d2e0de061 (diff) | |
download | public-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.pm | 2 |
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); } |