summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2009-10-11 08:14:37 +0000
committersthen <sthen@openbsd.org>2009-10-11 08:14:37 +0000
commit4ec950e19a7fe6fe05aa1b5abd8ca04e8283f287 (patch)
tree13d376b8a4d148daa3edcb14e807d71a8f99ca1e
parentThere isn't much point in having a free function if it isn't used. (diff)
downloadwireguard-openbsd-4ec950e19a7fe6fe05aa1b5abd8ca04e8283f287.tar.xz
wireguard-openbsd-4ec950e19a7fe6fe05aa1b5abd8ca04e8283f287.zip
Support manpages with NAME written in Spanish/Italian/Portuguese
ok espie@
-rw-r--r--libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm b/libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm
index f909fe08e5c..1b6c850a0bf 100644
--- a/libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm
+++ b/libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Formated.pm,v 1.3 2005/03/05 11:02:35 espie Exp $
+# $OpenBSD: Formated.pm,v 1.4 2009/10/11 08:14:37 sthen Exp $
# Copyright (c) 2000-2004 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@@ -96,7 +96,7 @@ sub handle
}
# Not all man pages are in english
# weird hex is `Namae' in japanese
- if (m/^(?:NAME|NAMES|NAMN|Name|\xbe|\xcc\xbe\xbe\xce|\xcc\xbe\xc1\xb0)\s*$/) {
+ if (m/^(?:NAME|NAMES|NAMN|NOMBRE|NOME|Name|\xbe|\xcc\xbe\xbe\xce|\xcc\xbe\xc1\xb0)\s*$/) {
unless (defined $section) {
# try to retrieve section from filename
if ($filename =~ m/(?:cat|man)([\dln])\//) {