summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-06-24 10:40:19 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-06-24 10:40:19 +0000
commit499172cb1388dca907da0fb4f5bda6865e7ed4ae (patch)
tree5f8485b28a08e2272c89a495f3ce5ed72cdc93d2
parentab70d92396c63162d349b024f56253c98fa77163 (diff)
Handle \*(Na in .Nd, needed by nan(3).
Prodded by deraadt@, "Yep" espie@.
-rw-r--r--libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm b/libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm
index 03460681527..29cc9dbe69a 100644
--- a/libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm
+++ b/libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Unformated.pm,v 1.7 2011/02/22 00:23:14 espie Exp $
+# $OpenBSD: Unformated.pm,v 1.8 2011/06/24 10:40:18 schwarze Exp $
# Copyright (c) 2000-2004 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@@ -97,7 +97,7 @@ sub handle
{
my ($f, $h) = @_;
my @lines = ();
- my %toexpand = (Tm => '(tm)');
+ my %toexpand = (Na => 'NaN', Tm => '(tm)');
my $so_found = 0;
my $found_th = 0;
my $found_old = 0;