pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/tn3270/files/ascii Use our own map3270 file inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c77d23c15946
branches:  trunk
changeset: 569715:c77d23c15946
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Jan 17 02:11:57 2010 +0000

description:
Use our own map3270 file instead of hardwiring /usr/share/misc.

diffstat:

 comms/tn3270/files/ascii/map3270.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 030c15214896 -r c77d23c15946 comms/tn3270/files/ascii/map3270.c
--- a/comms/tn3270/files/ascii/map3270.c        Sun Jan 17 02:11:15 2010 +0000
+++ b/comms/tn3270/files/ascii/map3270.c        Sun Jan 17 02:11:57 2010 +0000
@@ -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 @@
                GotIt = Position(environPointer, keybdPointer);
            }
            if (!GotIt) {
-               GotIt = Position("/usr/share/misc/map3270", keybdPointer);
+               GotIt = Position(PATH_MAP3270, keybdPointer);
            }
        }
        if (!GotIt) {
@@ -937,7 +937,7 @@
                GotIt = Position(environPointer, "unknown");
            }
            if (!GotIt && keybdPointer) {
-               GotIt = Position("/usr/share/misc/map3270", keybdPointer);
+               GotIt = Position(PATH_MAP3270, keybdPointer);
            }
        }
        if (!GotIt) {



Home | Main Index | Thread Index | Old Index