forked from pool/screen
- 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 OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=46
This commit is contained in:
parent
f0ce4db7fd
commit
f416d9cc26
@ -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
|
Mon Feb 18 09:04:34 UTC 2013 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ Patch10: screen-poll-zombies.patch
|
|||||||
Patch11: screen_enhance_windows_list_1_3.patch
|
Patch11: screen_enhance_windows_list_1_3.patch
|
||||||
Patch12: screen_enhance_windows_list_2_3.patch
|
Patch12: screen_enhance_windows_list_2_3.patch
|
||||||
Patch13: show_all_active.patch
|
Patch13: show_all_active.patch
|
||||||
|
Patch14: screen_fix_wW_string_escapes_to_nearly_old_behavior.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -77,6 +78,7 @@ Documentation: man page
|
|||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
|
%patch14 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" %configure --prefix=/usr --infodir=%{_infodir} \
|
CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" %configure --prefix=/usr --infodir=%{_infodir} \
|
||||||
|
19
screen_fix_wW_string_escapes_to_nearly_old_behavior.patch
Normal file
19
screen_fix_wW_string_escapes_to_nearly_old_behavior.patch
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user