+ add a missing "else" in changes to _nc_read_tic_entry().
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.1788 2011/09/24 20:18:22 tom Exp $
+-- $Id: NEWS,v 1.1789 2011/09/24 23:49:30 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20110925
+ + add a missing "else" in changes to _nc_read_tic_entry().
+
20110924
+ modify _nc_read_tic_entry() so that hashed-database is checked before
filesystem.
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.835 2011/09/24 14:14:47 tom Exp $
+# $Id: dist.mk,v 1.836 2011/09/24 23:48:26 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 5
NCURSES_MINOR = 9
-NCURSES_PATCH = 20110924
+NCURSES_PATCH = 20110925
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
#include <tic.h>
-MODULE_ID("$Id: db_iterator.c,v 1.9 2010/12/25 23:00:25 tom Exp $")
+MODULE_ID("$Id: db_iterator.c,v 1.10 2011/09/24 23:44:58 tom Exp $")
#define HaveTicDirectory _nc_globals.have_tic_directory
#define KeepTicDirectory _nc_globals.keep_tic_directory
_nc_last_db();
}
if (result != 0) {
+ T(("_nc_next_db %d %s", *state, result));
return result;
}
}
#include <tic.h>
-MODULE_ID("$Id: read_entry.c,v 1.111 2011/09/24 20:15:12 tom Exp $")
+MODULE_ID("$Id: read_entry.c,v 1.112 2011/09/24 23:47:45 tom Exp $")
#define TYPE_CALLOC(type,elts) typeCalloc(type, (unsigned)(elts))
code = _nc_read_file_entry(filename, tp);
}
#if USE_TERMCAP
- if (code != TGETENT_YES) {
+ else if (code != TGETENT_YES) {
code = _nc_read_termcap_entry(name, tp);
sprintf(filename, "%.*s", PATH_MAX - 1, _nc_get_source());
}