summaryrefslogtreecommitdiff
path: root/comms/tn3270
diff options
context:
space:
mode:
authordholland <dholland>2010-01-17 02:11:57 +0000
committerdholland <dholland>2010-01-17 02:11:57 +0000
commit546f261965307c519cde1da24fc154c2553608be (patch)
tree2cea0036796a920b82d636f4c7f85f101a7000ba /comms/tn3270
parent72b274a07d67be4266def60db7b2edf5aa047e72 (diff)
downloadpkgsrc-546f261965307c519cde1da24fc154c2553608be.tar.gz
Use our own map3270 file instead of hardwiring /usr/share/misc.
Diffstat (limited to 'comms/tn3270')
-rw-r--r--comms/tn3270/files/ascii/map3270.c8
1 files changed, 4 insertions, 4 deletions
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) {