Hello community, here is the log from the commit of package xterm for openSUSE:Factory checked in at Wed Jan 14 01:59:22 CET 2009. -------- --- xterm/xterm.changes 2009-01-05 17:23:54.000000000 +0100 +++ /mounts/work_src_done/STABLE/xterm/xterm.changes 2009-01-13 14:39:39.000000000 +0100 @@ -1,0 +2,8 @@ +Tue Jan 13 14:39:25 CET 2009 - meissner@suse.de + +- update to release xterm-239 + * correct a cast in input.c, which broke translation of numeric + keypad codes to pageup, pagedown, etc., on 64-bit platform (Debian + #511138, report by Larry Doolittle). + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- xterm-238.tar.bz2 New: ---- xterm-239.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xterm.spec ++++++ --- /var/tmp/diff_new_pack.q32118/_old 2009-01-14 01:59:05.000000000 +0100 +++ /var/tmp/diff_new_pack.q32118/_new 2009-01-14 01:59:05.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package xterm (Version 238) +# spec file for package xterm (Version 239) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -26,7 +26,7 @@ Group: System/X11/Utilities Provides: xorg-x11:/usr/X11R6/bin/xterm XFree86:/usr/X11R6/bin/xterm AutoReqProv: on -Version: 238 +Version: 239 Release: 1 Summary: The basic X terminal program Source: ftp://invisible-island.net/xterm/%name-%version.tar.bz2 @@ -279,6 +279,11 @@ /usr/share/pixmaps/* %changelog +* Tue Jan 13 2009 meissner@suse.de +- update to release xterm-239 + * correct a cast in input.c, which broke translation of numeric + keypad codes to pageup, pagedown, etc., on 64-bit platform (Debian + [#511138], report by Larry Doolittle). * Mon Jan 05 2009 meissner@suse.de - update to release xterm-238, Linux relevant changes: - Various security fixes for CVE-2008-2383 (ANSI command injection) ++++++ xterm-238.tar.bz2 -> xterm-239.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xterm-238/button.c new/xterm-239/button.c --- old/xterm-238/button.c 2008-10-06 01:32:52.000000000 +0200 +++ new/xterm-239/button.c 2009-01-09 02:29:52.000000000 +0100 @@ -1,7 +1,7 @@ -/* $XTermId: button.c,v 1.297 2008/10/05 23:32:52 tom Exp $ */ +/* $XTermId: button.c,v 1.298 2009/01/09 01:29:52 tom Exp $ */ /* - * Copyright 1999-2007,2008 by Thomas E. Dickey + * Copyright 1999-2008,2009 by Thomas E. Dickey * * All Rights Reserved * @@ -334,8 +334,10 @@ */ state = (event->xbutton.state & (Button1Mask | Button2Mask | Button3Mask | Button4Mask)) >> 8; - state ^= 1 << button; /* update mask to "after" state */ - state = (state & ~(4 | 1)) | ((state & 1) ? 4 : 0) | ((state & 4) ? 1 : 0); /* swap Button1 & Button3 */ + /* update mask to "after" state */ + state ^= 1 << button; + /* swap Button1 & Button3 */ + state = (state & ~(4 | 1)) | ((state & 1) ? 4 : 0) | ((state & 4) ? 1 : 0); reply.a_param[1] = (ParmType) state; reply.a_param[2] = (ParmType) row; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xterm-238/input.c new/xterm-239/input.c --- old/xterm-238/input.c 2008-12-30 18:20:39.000000000 +0100 +++ new/xterm-239/input.c 2009-01-09 00:28:36.000000000 +0100 @@ -1,7 +1,7 @@ -/* $XTermId: input.c,v 1.302 2008/12/30 17:20:39 tom Exp $ */ +/* $XTermId: input.c,v 1.303 2009/01/08 23:28:36 tom Exp $ */ /* - * Copyright 1999-2007,2008 by Thomas E. Dickey + * Copyright 1999-2008,2009 by Thomas E. Dickey * * All Rights Reserved * @@ -984,7 +984,7 @@ #ifdef XK_KP_Home if (kd.keysym >= XK_KP_Home && kd.keysym <= XK_KP_Begin) { TRACE(("...Input keypad before was " KEYSYM_FMT "\n", kd.keysym)); - kd.keysym += (unsigned) (XK_Home - XK_KP_Home); + kd.keysym += (KeySym) (XK_Home - XK_KP_Home); TRACE(("...Input keypad changed to " KEYSYM_FMT "\n", kd.keysym)); } #endif diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xterm-238/MANIFEST new/xterm-239/MANIFEST --- old/xterm-238/MANIFEST 2008-12-30 19:52:21.000000000 +0100 +++ new/xterm-239/MANIFEST 2009-01-09 03:01:34.000000000 +0100 @@ -1,4 +1,4 @@ -MANIFEST for xterm-238, version xterm-238 +MANIFEST for xterm-239, version xterm-239 -------------------------------------------------------------------------------- MANIFEST this file 256colres.h resource-definitions for 256-color mode diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xterm-238/print.c new/xterm-239/print.c --- old/xterm-238/print.c 2007-03-20 00:49:51.000000000 +0100 +++ new/xterm-239/print.c 2009-01-09 02:43:01.000000000 +0100 @@ -1,4 +1,4 @@ -/* $XTermId: print.c,v 1.80 2007/03/19 23:49:51 tom Exp $ */ +/* $XTermId: print.c,v 1.81 2009/01/09 01:43:01 tom Exp $ */ /* * $XFree86: xc/programs/xterm/print.c,v 1.24 2006/06/19 00:36:51 dickey Exp $ @@ -6,7 +6,7 @@ /************************************************************ -Copyright 1997-2006,2007 by Thomas E. Dickey +Copyright 1997-2007,2009 by Thomas E. Dickey All Rights Reserved @@ -193,7 +193,7 @@ #endif ) && ch) { - attr = (a[col] & SGR_MASK); + attr = CharOf(a[col] & SGR_MASK); last_fg = fg; last_bg = bg; if (screen->print_attributes) @@ -556,7 +556,7 @@ case '4': case '5': case 'i': - bfr[length++] = chr; + bfr[length++] = CharOf(chr); for (n = 0; n < sizeof(tbl) / sizeof(tbl[0]); n++) { size_t len = Strlen(tbl[n].seq); @@ -580,7 +580,7 @@ default: for (n = 0; n < length; n++) charToPrinter(bfr[n]); - bfr[0] = chr; + bfr[0] = CharOf(chr); length = 1; return 0; } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xterm-238/testxmc.c new/xterm-239/testxmc.c --- old/xterm-238/testxmc.c 2006-07-23 20:53:12.000000000 +0200 +++ new/xterm-239/testxmc.c 2009-01-09 02:40:17.000000000 +0100 @@ -1,4 +1,4 @@ -/* $XTermId: testxmc.c,v 1.34 2006/07/23 18:53:12 tom Exp $ */ +/* $XTermId: testxmc.c,v 1.35 2009/01/09 01:40:17 tom Exp $ */ /* * $XFree86: xc/programs/xterm/testxmc.c,v 3.14 2006/02/13 01:14:59 dickey Exp $ @@ -6,7 +6,7 @@ /************************************************************ -Copyright 1997-2005,2006 by Thomas E. Dickey +Copyright 1997-2006,2009 by Thomas E. Dickey All Rights Reserved @@ -92,8 +92,8 @@ #include <xterm.h> #include <data.h> -#define MARK_ON(a) (my_attrs & a) != 0 && (xw->flags & (whichone = a)) == 0 -#define MARK_OFF(a) (my_attrs & a) != 0 && (xw->flags & (whichone = a)) != 0 +#define MARK_ON(a) (my_attrs & a) != 0 && (xw->flags & (whichone = CharOf(a))) == 0 +#define MARK_OFF(a) (my_attrs & a) != 0 && (xw->flags & (whichone = CharOf(a))) != 0 void Mark_XMC(XtermWidget xw, int param) @@ -102,7 +102,7 @@ TScreen *screen = &(xw->screen); Bool found = False; - Char my_attrs = (screen->xmc_attributes & XMC_FLAGS); + Char my_attrs = CharOf(screen->xmc_attributes & XMC_FLAGS); Char whichone = 0; if (glitch == 0) { @@ -180,7 +180,7 @@ TScreen *screen = &(xw->screen); Bool changed = False; Char start; - Char my_attrs = (screen->xmc_attributes & XMC_FLAGS); + Char my_attrs = CharOf(screen->xmc_attributes & XMC_FLAGS); int row = screen->cur_row; int col = screen->cur_col; @@ -210,8 +210,8 @@ if (XTERM_CELL(row, col) == XMC_GLITCH) break; if ((SCRN_BUF_ATTRS(screen, row)[col] & my_attrs) != start) { - SCRN_BUF_ATTRS(screen, row)[col] = start | - (SCRN_BUF_ATTRS(screen, row)[col] & ~my_attrs); + SCRN_BUF_ATTRS(screen, row)[col] = + CharOf(start | (SCRN_BUF_ATTRS(screen, row)[col] & ~my_attrs)); changed = True; } } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xterm-238/version.h new/xterm-239/version.h --- old/xterm-238/version.h 2008-10-05 18:46:50.000000000 +0200 +++ new/xterm-239/version.h 2009-01-09 00:30:16.000000000 +0100 @@ -1,4 +1,4 @@ -/* $XTermId: version.h,v 1.294 2008/10/05 16:46:50 tom Exp $ */ +/* $XTermId: version.h,v 1.295 2009/01/08 23:30:16 tom Exp $ */ /* * These definitions are used to build the string that's printed in response to @@ -6,7 +6,7 @@ * version of X to which this version of xterm has been built. The number in * parentheses is my patch number (Thomas E. Dickey). */ -#define XTERM_PATCH 238 +#define XTERM_PATCH 239 #ifndef __vendorversion__ #define __vendorversion__ "XTerm" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/xterm-238/xterm.log.html new/xterm-239/xterm.log.html --- old/xterm-238/xterm.log.html 2008-12-30 20:09:49.000000000 +0100 +++ new/xterm-239/xterm.log.html 2009-01-09 03:02:49.000000000 +0100 @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- ***************************************************************************** - * Copyright 1996-2007,2008 by Thomas E. Dickey * + * Copyright 1996-2008,2009 by Thomas E. Dickey * * All Rights Reserved. * * * * Permission to use, copy, modify, and distribute this software and its * @@ -20,7 +20,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ***************************************************************************** - $XTermId: xterm.log.html,v 1.703 2008/12/30 19:09:49 tom Exp $ + $XTermId: xterm.log.html,v 1.707 2009/01/09 02:02:49 tom Exp $ --> <HTML> <HEAD> @@ -30,7 +30,7 @@ </HEAD> <BODY> <HR> -Copyright © 1997-2007,2008 by <A +Copyright © 1997-2008,2009 by <A HREF="mailto:dickey@invisible-island.net">Thomas E. Dickey</A> <HR> <H1>Contents</H1> @@ -45,6 +45,7 @@ is the latest version of this file. <UL> +<LI><A HREF="#xterm_239">Patch #239 - 2001/1/8</A> <LI><A HREF="#xterm_238">Patch #238 - 2008/12/30</A> <LI><A HREF="#xterm_237">Patch #237 - 2008/09/14</A> <LI><A HREF="#xterm_236">Patch #236 - 2008/07/27</A> @@ -286,6 +287,13 @@ <LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A> </UL> +<H1><A NAME="xterm_239">Patch #239 - 2009/1/8</A></H1> +<ul> + <li>correct a cast in input.c, which broke translation of numeric + keypad codes to pageup, pagedown, etc., on 64-bit platform + (Debian #511138, report by Larry Doolittle). +</ul> + <H1><A NAME="xterm_238">Patch #238 - 2008/12/30</A></H1> <ul> <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org