From eaca47c71483f81020036f264569889683d511f9 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Tue, 19 Oct 2010 11:38:00 +0000 Subject: fix a split() which was causing problems with the mbox.5 manpage in Mutt, as noticed by Andreas Kahari. ok espie@ "we'll fix the fix if it breaks". --- usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/PackingElement.pm') diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index cef7bc15bcf..2ff77a94e1e 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.184 2010/10/19 07:29:41 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.185 2010/10/19 11:37:59 sthen Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -520,7 +520,7 @@ sub format my @extra = (); # extra preprocessors as described in man. if ($line =~ m/^\'\\\"\s+(.*)$/o) { - for my $letter (split $1) { + for my $letter (split '', $1) { if ($letter =~ m/[ept]/o) { push(@extra, "-$letter"); } elsif ($letter eq 'r') { -- cgit v1.2.3