SHA256
1
0
forked from pool/screen

Accepting request 161921 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/161921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screen?expand=0&rev=39
This commit is contained in:
Stephan Kulow 2013-04-02 11:12:35 +00:00 committed by Git OBS Bridge
commit 6785f53359
3 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Mar 24 10:57:09 UTC 2013 - trenn@suse.de
- Patch screen_enhance_windows_list_1_3.patch changed wW string escapes
in an unintended way.
Fix this by ignoring longflg and behave the way wW string esacpes
behaved with adding addtional L escape. (So %w is now what %Lw was before
all these changes. This should be a minor, acceptable change as it was
undocumented and it buys quite some code cleanup with it.). Patch is:
screen_fix_wW_string_escapes_to_nearly_old_behavior.patch
-------------------------------------------------------------------
Mon Feb 18 09:04:34 UTC 2013 - trenn@suse.de

View File

@ -52,6 +52,7 @@ Patch10: screen-poll-zombies.patch
Patch11: screen_enhance_windows_list_1_3.patch
Patch12: screen_enhance_windows_list_2_3.patch
Patch13: show_all_active.patch
Patch14: screen_fix_wW_string_escapes_to_nearly_old_behavior.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -77,6 +78,7 @@ Documentation: man page
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build
CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" %configure --prefix=/usr --infodir=%{_infodir} \

View File

@ -0,0 +1,19 @@
From: Thomas Renninger <trenn@suse.de>
References: bnc#808565
Subject: Fix old wW string escapes behavior to what previously was %Lw
Signed-off-by: Thomas Renninger <trenn@suse.de>
Index: screen-4.0.4/screen.c
===================================================================
--- screen-4.0.4.orig/screen.c
+++ screen-4.0.4/screen.c
@@ -2780,7 +2780,7 @@ int rec;
oldfore = D_fore;
D_fore = win;
}
- ss = AddWindows(p, l - 1, (*s == 'w' ? 0 : 1) | (longflg ? 0 : 2) | (plusflg ? 4 : 0) | (minusflg ? 8 : 0), win ? win->w_number : -1);
+ ss = AddWindows(p, l - 1, (*s == 'w' ? 0 : 1) | (plusflg ? 4 : 0) | (minusflg ? 8 : 0), win ? win->w_number : -1);
if (display)
D_fore = oldfore;
}