diff options
author | Eric Wong <e@80x24.org> | 2023-11-13 13:15:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-13 21:55:01 +0000 |
commit | da87331b60ec182e939081eb16effa2b9aa8be3c (patch) | |
tree | 834f726b007391f26c7163cfd76bf1e86de7efe1 /lib/PublicInbox | |
parent | 2d3699d2ce8cbee21485c8b31b1f681d2bb5def5 (diff) | |
download | public-inbox-da87331b60ec182e939081eb16effa2b9aa8be3c.tar.gz |
None of our current code relies on it, and I can't imagine it's something we'd need in the future, actually... This keeps the door open for relying more on Spawn in TestCommon.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/Spawn.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm index 849438bc..9c680690 100644 --- a/lib/PublicInbox/Spawn.pm +++ b/lib/PublicInbox/Spawn.pm @@ -401,7 +401,7 @@ sub read_out_err ($) { seek($fh, 0, SEEK_SET); my $dst = $opt->{$fd}; $dst = $opt->{$fd} = $dst->[1] if ref($dst) eq 'ARRAY'; - PublicInbox::IO::read_all $fh, 0, $dst, length($$dst); + PublicInbox::IO::read_all $fh, 0, $dst } } |