summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2010-10-19 11:37:59 +0000
committersthen <sthen@openbsd.org>2010-10-19 11:37:59 +0000
commit05936ffb3b943af680c071f42c01f59fa70a2a74 (patch)
tree737d0a3b9f8b5a2aeed5f4ad070ab6447b1482ae
parentUnify some error messages to simplify reset code. No functional (diff)
downloadwireguard-openbsd-05936ffb3b943af680c071f42c01f59fa70a2a74.tar.xz
wireguard-openbsd-05936ffb3b943af680c071f42c01f59fa70a2a74.zip
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".
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm4
1 files changed, 2 insertions, 2 deletions
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 <espie@openbsd.org>
#
@@ -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') {