summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2010-01-17 02:11:57 +0000
committerdholland <dholland@pkgsrc.org>2010-01-17 02:11:57 +0000
commit2e9ca4ea743f71cdf2ef00eba7649b37d2d74361 (patch)
tree2cea0036796a920b82d636f4c7f85f101a7000ba /comms
parent503a30d0b2f4a6ad7857a47da24713200b3038a8 (diff)
downloadpkgsrc-2e9ca4ea743f71cdf2ef00eba7649b37d2d74361.tar.gz
Use our own map3270 file instead of hardwiring /usr/share/misc.
Diffstat (limited to 'comms')
-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) {