summaryrefslogtreecommitdiff
path: root/lib/libcurses/tinfo
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-06-27 08:16:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-06-27 08:16:03 +0000
commite0ad93e853d892132bbc9100f6e57a437528aae5 (patch)
tree624083c53414e0fda6fe6cf29ce84eae83d57ef0 /lib/libcurses/tinfo
parentc1da0c612ee213cbca9ce22e3e9ccc39fe62e5cc (diff)
ncurses-5.0-990626
Diffstat (limited to 'lib/libcurses/tinfo')
-rw-r--r--lib/libcurses/tinfo/MKfallback.sh11
-rw-r--r--lib/libcurses/tinfo/comp_hash.c7
2 files changed, 13 insertions, 5 deletions
diff --git a/lib/libcurses/tinfo/MKfallback.sh b/lib/libcurses/tinfo/MKfallback.sh
index d6631b2ca8a..0c1eaef70c7 100644
--- a/lib/libcurses/tinfo/MKfallback.sh
+++ b/lib/libcurses/tinfo/MKfallback.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# $OpenBSD: MKfallback.sh,v 1.1 1999/01/18 19:10:12 millert Exp $
-# $From: MKfallback.sh,v 1.8 1996/09/15 01:44:13 tom Exp $
+# $OpenBSD: MKfallback.sh,v 1.2 1999/06/27 08:14:21 millert Exp $
+# $From: MKfallback.sh,v 1.9 1999/06/15 22:57:45 tom Exp $
#
# MKfallback.sh -- create fallback table for entry reads
#
@@ -25,7 +25,14 @@ then
#include <tic.h>
/* fallback entries for: $* */
+EOF
+ for x in $*
+ do
+ echo "/* $x */"
+ infocmp -E $x
+ done
+ cat <<EOF
static const TERMTYPE fallbacks[$#] =
{
EOF
diff --git a/lib/libcurses/tinfo/comp_hash.c b/lib/libcurses/tinfo/comp_hash.c
index 862dd21fb3e..be52efa37ab 100644
--- a/lib/libcurses/tinfo/comp_hash.c
+++ b/lib/libcurses/tinfo/comp_hash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: comp_hash.c,v 1.3 1999/03/15 19:12:22 millert Exp $ */
+/* $OpenBSD: comp_hash.c,v 1.4 1999/06/27 08:14:21 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -51,7 +51,7 @@
#define DEBUG(level, params) /*nothing*/
#endif
-MODULE_ID("$From: comp_hash.c,v 1.20 1999/03/14 12:23:26 tom Exp $")
+MODULE_ID("$From: comp_hash.c,v 1.21 1999/06/26 21:25:11 tom Exp $")
static int hash_function(const char *);
@@ -66,7 +66,8 @@ static int hash_function(const char *);
#ifdef MAIN_PROGRAM
-#undef USE_RCS_IDS
+#undef MODULE_ID
+#define MODULE_ID(id) /*nothing*/
#include <tinfo/doalloc.c>
static void _nc_make_hash_table(struct name_table_entry *table,