]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 5.9 - patch 20110925
authorThomas E. Dickey <dickey@invisible-island.net>
Sat, 24 Sep 2011 23:55:13 +0000 (23:55 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sat, 24 Sep 2011 23:55:13 +0000 (23:55 +0000)
+ add a missing "else" in changes to _nc_read_tic_entry().

NEWS
dist.mk
ncurses/tinfo/db_iterator.c
ncurses/tinfo/read_entry.c

diff --git a/NEWS b/NEWS
index ff9b6def227a2e60c2c5be7639479dd771501170..0d066dd3e75b0044cde89ccf3a0ddbd32b1fd780 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
 -- 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
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,9 @@ See the AUTHORS file for the corresponding full names.
 Changes through 1.9.9e did not credit all contributions;
 it is not possible to add this information.
 
 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.
 20110924
        + modify _nc_read_tic_entry() so that hashed-database is checked before
          filesystem.
diff --git a/dist.mk b/dist.mk
index 262f814f0033ee7194f08b0baa8fc1e1c4a720f2..76e8469f218b42a83b27df66bde864d194a45c5f 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -25,7 +25,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
 # 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
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
@@ -37,7 +37,7 @@ SHELL = /bin/sh
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 5
 NCURSES_MINOR = 9
 # 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)
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index 82665cb54be6989e402dfd4f191f64ae3ef33fcd..eec2d4f8abe012cd4ba23f70528cb80648cb2e43 100644 (file)
@@ -38,7 +38,7 @@
 
 #include <tic.h>
 
 
 #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
 
 #define HaveTicDirectory _nc_globals.have_tic_directory
 #define KeepTicDirectory _nc_globals.keep_tic_directory
@@ -210,6 +210,7 @@ _nc_next_db(DBDIRS * state, int *offset)
            _nc_last_db();
        }
        if (result != 0) {
            _nc_last_db();
        }
        if (result != 0) {
+           T(("_nc_next_db %d %s", *state, result));
            return result;
        }
     }
            return result;
        }
     }
index 4ff8cc48bf48ed002352aa3bf2311f2ff528015e..a46917d8c23765837dc6d975dab236feacfe67a7 100644 (file)
@@ -41,7 +41,7 @@
 
 #include <tic.h>
 
 
 #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))
 
 
 #define TYPE_CALLOC(type,elts) typeCalloc(type, (unsigned)(elts))
 
@@ -515,7 +515,7 @@ _nc_read_tic_entry(char *filename,
        code = _nc_read_file_entry(filename, tp);
     }
 #if USE_TERMCAP
        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());
     }
        code = _nc_read_termcap_entry(name, tp);
        sprintf(filename, "%.*s", PATH_MAX - 1, _nc_get_source());
     }