From 546f261965307c519cde1da24fc154c2553608be Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 17 Jan 2010 02:11:57 +0000 Subject: Use our own map3270 file instead of hardwiring /usr/share/misc. --- comms/tn3270/files/ascii/map3270.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'comms/tn3270') diff --git a/comms/tn3270/files/ascii/map3270.c b/comms/tn3270/files/ascii/map3270.c index b5c666b550a..2755627c85c 100644 --- a/comms/tn3270/files/ascii/map3270.c +++ b/comms/tn3270/files/ascii/map3270.c @@ -1,4 +1,4 @@ -/* $NetBSD: map3270.c,v 1.1.1.1 2010/01/17 01:33:18 dholland Exp $ */ +/* $NetBSD: map3270.c,v 1.2 2010/01/17 02:11:57 dholland Exp $ */ /* From NetBSD: map3270.c,v 1.15 2006/04/30 23:49:34 christos Exp */ /*- @@ -35,7 +35,7 @@ #if 0 static char sccsid[] = "@(#)map3270.c 4.2 (Berkeley) 4/26/91"; #else -__RCSID("$NetBSD: map3270.c,v 1.1.1.1 2010/01/17 01:33:18 dholland Exp $"); +__RCSID("$NetBSD: map3270.c,v 1.2 2010/01/17 02:11:57 dholland Exp $"); #endif #endif /* not lint */ @@ -929,7 +929,7 @@ int (*translator)(char *); /* Translates ascii string to integer */ GotIt = Position(environPointer, keybdPointer); } if (!GotIt) { - GotIt = Position("/usr/share/misc/map3270", keybdPointer); + GotIt = Position(PATH_MAP3270, keybdPointer); } } if (!GotIt) { @@ -937,7 +937,7 @@ int (*translator)(char *); /* Translates ascii string to integer */ GotIt = Position(environPointer, "unknown"); } if (!GotIt && keybdPointer) { - GotIt = Position("/usr/share/misc/map3270", keybdPointer); + GotIt = Position(PATH_MAP3270, keybdPointer); } } if (!GotIt) { -- cgit v1.2.3