]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 5.6 - patch 20070825
authorThomas E. Dickey <dickey@invisible-island.net>
Sat, 25 Aug 2007 20:38:10 +0000 (20:38 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sat, 25 Aug 2007 20:38:10 +0000 (20:38 +0000)
+ fix a sign-extension bug in infocmp's repair_acsc() function
  (cf: 971004).
+ fix old configure script bug which prevented "--disable-warnings"
  option from working (patch by Mike Frysinger).

NEWS
configure
configure.in
dist.mk
progs/dump_entry.c

diff --git a/NEWS b/NEWS
index 5fd688bcfe861c1c5b3d803c6e83341c9f1cad8d..23a1806d056698fe56db406720092268339f5fd6 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.1155 2007/08/18 22:31:19 tom Exp $
+-- $Id: NEWS,v 1.1157 2007/08/25 20:12:52 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,12 @@ 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.
 
+20070825
+       + fix a sign-extension bug in infocmp's repair_acsc() function
+         (cf: 971004).
+       + fix old configure script bug which prevented "--disable-warnings"
+         option from working (patch by Mike Frysinger).
+
 20070818
        + add 9term terminal description (request by Juhapekka Tolvanen) -TD
        + modify comp_hash.c's string output to avoid misinterpreting a null
index 9349248ef3091656fed38d2ea6fd7b4f112119ee..0cf4679c26ad68842938d68cfd3d7ac8cf092c96 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.422 .
+# From configure.in Revision: 1.423 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by Autoconf 2.52.20061216.
 #
@@ -9306,7 +9306,7 @@ fi;
 echo "$as_me:9306: result: $with_warnings" >&5
 echo "${ECHO_T}$with_warnings" >&6
 
-if test -n "$with_warnings"; then
+if test "x$with_warnings" = "xyes"; then
        ADAFLAGS="$ADAFLAGS -gnatg"
 
 INTEL_COMPILER=no
index 013394db0f220cd2063ad5bc249142f1dda1ffef..0c413b014e1e3b89094f3ff4ec2223423380d8fa 100644 (file)
@@ -28,14 +28,14 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey 1995-on
 dnl
-dnl $Id: configure.in,v 1.422 2007/07/28 18:23:55 tom Exp $
+dnl $Id: configure.in,v 1.423 2007/08/25 19:15:51 Mike.Frysinger Exp $
 dnl Process this file with autoconf to produce a configure script.
 dnl
 dnl See http://invisible-island.net/autoconf/ for additional information.
 dnl
 dnl ---------------------------------------------------------------------------
 AC_PREREQ(2.13.20020210)
-AC_REVISION($Revision: 1.422 $)
+AC_REVISION($Revision: 1.423 $)
 AC_INIT(ncurses/base/lib_initscr.c)
 AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
 
@@ -1035,7 +1035,7 @@ AC_ARG_ENABLE(warnings,
        [with_warnings=$enableval])
 AC_MSG_RESULT($with_warnings)
 
-if test -n "$with_warnings"; then
+if test "x$with_warnings" = "xyes"; then
        ADAFLAGS="$ADAFLAGS -gnatg"
        CF_GCC_WARNINGS(Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum)
        if test "$cf_with_cxx" = yes ; then
diff --git a/dist.mk b/dist.mk
index 030f11549f34bc265355a39f5c16d558026b2bd4..f9d4a131bc6ca60ddd2d1207cf0bd29ec0823adf 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -25,7 +25,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.607 2007/08/18 09:36:09 tom Exp $
+# $Id: dist.mk,v 1.608 2007/08/25 13:46:49 tom Exp $
 # 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 = 6
-NCURSES_PATCH = 20070818
+NCURSES_PATCH = 20070825
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index 2ae5380667bae7ecfeadd77c2852b9e019ada7ef..6320f3c1cf9f85e2dccc83ba2100e34dedf38ead 100644 (file)
@@ -39,7 +39,7 @@
 #include "termsort.c"          /* this C file is generated */
 #include <parametrized.h>      /* so is this */
 
-MODULE_ID("$Id: dump_entry.c,v 1.80 2007/04/07 17:13:36 tom Exp $")
+MODULE_ID("$Id: dump_entry.c,v 1.81 2007/08/25 20:05:35 tom Exp $")
 
 #define INDENT                 8
 #define DISCARD(string) string = ABSENT_STRING
@@ -1226,7 +1226,7 @@ repair_acsc(TERMTYPE *tp)
        bool fix_needed = FALSE;
 
        for (n = 0, source = 0; acs_chars[n] != 0; n++) {
-           target = acs_chars[n];
+           target = UChar(acs_chars[n]);
            if (source >= target) {
                fix_needed = TRUE;
                break;
@@ -1238,7 +1238,7 @@ repair_acsc(TERMTYPE *tp)
        if (fix_needed) {
            memset(mapped, 0, sizeof(mapped));
            for (n = 0; acs_chars[n] != 0; n++) {
-               source = acs_chars[n];
+               source = UChar(acs_chars[n]);
                if ((target = (unsigned char) acs_chars[n + 1]) != 0) {
                    mapped[source] = target;
                    n++;