user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 3/4] t/hl_mod: document IO::Handle for autoflush
  2020-01-26 10:29  6% [PATCH 0/4] Perl 5.10.1 compatibility fixes Eric Wong
@ 2020-01-26 10:29  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-01-26 10:29 UTC (permalink / raw)
  To: meta

We don't need IO::File for this test, but IO::Handle
is needed for ->autoflush with Perl <5.14.

Note: I haven't tested highlight.pm under 5.10.1 since
it's a weird dependency which isn't easy to install w/o
distro support.
---
 t/hl_mod.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/hl_mod.t b/t/hl_mod.t
index 4942404c..351dfe22 100644
--- a/t/hl_mod.t
+++ b/t/hl_mod.t
@@ -5,6 +5,7 @@ use strict;
 use warnings;
 use Test::More;
 use PublicInbox::Spawn qw(which spawn);
+use IO::Handle; # ->autoflush
 use Fcntl qw(:seek);
 eval { require highlight } or
 	plan skip_all => "failed to load highlight.pm for $0";

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/4] Perl 5.10.1 compatibility fixes
@ 2020-01-26 10:29  6% Eric Wong
  2020-01-26 10:29  7% ` [PATCH 3/4] t/hl_mod: document IO::Handle for autoflush Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-01-26 10:29 UTC (permalink / raw)
  To: meta

Aside from the highlight.pm-dependent stuff, everything seems
to work fine after these patches under Perl 5.10.1.

Getting 5.10.1 to run required Devel::PatchPerl to make it
build on modern systems and LOTS of waiting for CPAN modules
to download and build, though :<

Eric Wong (4):
  daemon: provide TCP_DEFER_ACCEPT for Perl <5.14
  avoid relying on IO::Handle/IO::File autoload
  t/hl_mod: document IO::Handle for autoflush
  t/v2reindex.t: 5.10.1 glob compatibility

 lib/PublicInbox/Daemon.pm |  5 +++--
 lib/PublicInbox/Qspawn.pm |  2 +-
 t/hl_mod.t                |  1 +
 t/httpd-corner.t          | 11 ++++++-----
 t/httpd-https.t           |  2 +-
 t/httpd.t                 |  2 +-
 t/import.t                |  7 +++----
 t/nntpd-tls.t             |  2 +-
 t/v2reindex.t             |  6 +++---
 9 files changed, 20 insertions(+), 18 deletions(-)

^ permalink raw reply	[relevance 6%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-01-26 10:29  6% [PATCH 0/4] Perl 5.10.1 compatibility fixes Eric Wong
2020-01-26 10:29  7% ` [PATCH 3/4] t/hl_mod: document IO::Handle for autoflush Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).