]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
treewide: use autodie for seek+sysseek
authorEric Wong <e@80x24.org>
Sat, 18 Jan 2025 01:26:11 +0000 (01:26 +0000)
committerEric Wong <e@80x24.org>
Tue, 21 Jan 2025 22:37:01 +0000 (22:37 +0000)
commit94c9dee82ececdf4908097660ec430f3d57949d9
treeeb89529ff6e993c55fed14cb4f336a79270f5f8f
parent11b4cb8653eb82635dfa0c1107ae8807cb9419db
treewide: use autodie for seek+sysseek

The underlying lseek(2) syscall won't fail due to HW errors,
only due to usage errors (ESPIPE, EINVAL); so don't waste
code on error checking ourselves and just let autodie check
things during development.
16 files changed:
Documentation/common.perl
lib/PublicInbox/Emergency.pm
lib/PublicInbox/HTTP.pm
lib/PublicInbox/SolverGit.pm
lib/PublicInbox/ViewVCS.pm
lib/PublicInbox/WwwStatic.pm
t/check-www-inbox.perl
t/gcf2.t
t/gzip_filter.t
t/httpd-corner.t
t/import.t
t/ipc.t
t/lei-externals.t
t/lei-p2q.t
t/lei-sigpipe.t
t/mbox_reader.t