]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
treewide: consistent IO::Handle->flush error handling
authorEric Wong <e@80x24.org>
Sat, 7 Jun 2025 19:48:37 +0000 (19:48 +0000)
committerEric Wong <e@80x24.org>
Mon, 9 Jun 2025 23:55:31 +0000 (23:55 +0000)
commit02c51cf4eec2383ef4d329d3025e09060d28ee1c
treef80887c1e350b60d35734a79625f65669e98f51d
parent6b835ef1180618f27908a541f4fc5c2cf5a6bd94
treewide: consistent IO::Handle->flush error handling

We'll attempt to stringify the failing IO handle in case
Perl can output more info about the object.  Furthermore,
we can disable checks for `print' failures preceding ->flush
since they're redundant and a waste of code.
lib/PublicInbox/Emergency.pm
lib/PublicInbox/GitHTTPBackend.pm
lib/PublicInbox/IdxStack.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/SolverGit.pm
lib/PublicInbox/Spawn.pm