Hello community, here is the log from the commit of package readline for openSUSE:Factory checked in at 2019-09-05 12:30:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/readline (Old) and /work/SRC/openSUSE:Factory/.readline.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "readline" Thu Sep 5 12:30:56 2019 rev:5 rq:723956 version:8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/readline/readline.changes 2019-01-29 14:37:38.871607097 +0100 +++ /work/SRC/openSUSE:Factory/.readline.new.7948/readline.changes 2019-09-05 12:30:57.119612877 +0200 @@ -1,0 +2,19 @@ +Fri Aug 16 10:05:11 UTC 2019 - Dr. Werner Fink <[email protected]> + +- Rework patch readline-7.0-screen.patch again for bug boo#1143055 + * Map all "screen(-xxx)?.yyy(-zzz)?" to "screen" as well as + map "konsole(-xxx)?" and "gnome(-xxx)?" to "xterm" + +------------------------------------------------------------------- +Thu Aug 15 13:45:15 UTC 2019 - Dr. Werner Fink <[email protected]> + +- Add official patch readline80-001 + The history file reading code doesn't close the file descriptor open to + the history file when it encounters a zero-length file. + +------------------------------------------------------------------- +Fri Aug 2 08:20:41 UTC 2019 - Martin Liška <[email protected]> + +- Use FAT LTO objects in order to provide proper static library. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ readline.spec ++++++ --- /var/tmp/diff_new_pack.8ewbvG/_old 2019-09-05 12:30:58.143612677 +0200 +++ /var/tmp/diff_new_pack.8ewbvG/_new 2019-09-05 12:30:58.143612677 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -120,6 +120,7 @@ %patch0 -p0 -b .0 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects LANG=POSIX LC_ALL=$LANG unset LC_CTYPE ++++++ readline-7.0-screen.patch ++++++ --- /var/tmp/diff_new_pack.8ewbvG/_old 2019-09-05 12:30:58.191612667 +0200 +++ /var/tmp/diff_new_pack.8ewbvG/_new 2019-09-05 12:30:58.191612667 +0200 @@ -1,24 +1,49 @@ Special for screen and its new TERM setting like TERM=screen.xterm-256color +Map all "screen(-xxx)?.yyy(-zzz)?" to "screen" as well as map "konsole(-xxx)?" +and "gnome(-xxx)?" to "xterm". + +This helps to get /etc/inputrc work for most users. --- - readline-7.0/bind.c | 9 +++++++++ - 1 file changed, 9 insertions(+) + lib/readline/bind.c | 19 +++++++++++++++++-- + 1 file changed, 17 insertions(+), 2 deletions(-) --- lib/readline/bind.c -+++ readline-7.0/bind.c 2018-09-28 11:22:31.001503017 +0000 -@@ -1209,6 +1209,15 @@ parser_if (args) - `$if term=sun-cmd' into their .inputrc. */ - _rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname) && - _rl_stricmp (args + 5, rl_terminal_name); -+ -+ /* Skip the prefix `screen.' if any to use the underlying bindings */ -+ if (_rl_parsing_conditionalized_out && -+ _rl_strnicmp (rl_terminal_name, "screen.", 7) == 0) ++++ lib/readline/bind.c 2019-08-16 08:26:42.327029248 +0000 +@@ -1195,19 +1195,34 @@ parser_if (char *args) + word in ARGS is the same as the value stored in rl_readline_name. */ + if (rl_terminal_name && _rl_strnicmp (args, "term=", 5) == 0) + { +- char *tem, *tname; ++ char *tem, *tname, *talias; + +- /* Terminals like "aaa-60" are equivalent to "aaa". */ + tname = savestring (rl_terminal_name); ++ /* Various terminal types of screen are equivalent to "screen" */ ++ if (_rl_strnicmp (rl_terminal_name, "screen", 6) == 0) + { -+ _rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname + 7) && -+ _rl_stricmp (args + 5, rl_terminal_name + 7); ++ tem = strchr (tname, '.'); ++ if (tem) ++ *tem = '\0'; + } ++ /* Terminals like "aaa-60" are equivalent to "aaa". */ + tem = strchr (tname, '-'); + if (tem) + *tem = '\0'; + ++ /* Map terminal types "konsole" and "gnome" to "xterm" nowadays */ ++ talias = tname; ++ if (_rl_stricmp("konsole", tname) == 0) ++ talias = "xterm"; ++ if (_rl_stricmp("gnome", tname) == 0) ++ talias = "xterm"; + + /* Test the `long' and `short' forms of the terminal name so that + if someone has a `sun-cmd' and does not want to have bindings + that will be executed if the terminal is a `sun', they can put + `$if term=sun-cmd' into their .inputrc. */ + _rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname) && ++ _rl_stricmp (args + 5, talias) && + _rl_stricmp (args + 5, rl_terminal_name); xfree (tname); } - #if defined (VI_MODE) ++++++ readline-8.0-patches.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readline-8.0-patches/readline80-001 new/readline-8.0-patches/readline80-001 --- old/readline-8.0-patches/readline80-001 1970-01-01 01:00:00.000000000 +0100 +++ new/readline-8.0-patches/readline80-001 2019-08-14 17:22:41.000000000 +0200 @@ -0,0 +1,38 @@ + READLINE PATCH REPORT + ===================== + +Readline-Release: 8.0 +Patch-ID: readline80-001 + +Bug-Reported-by: [email protected] +Bug-Reference-ID: +Bug-Reference-URL: + +Bug-Description: + +The history file reading code doesn't close the file descriptor open to +the history file when it encounters a zero-length file. + +Patch (apply with `patch -p0'): + +*** ../readline-8.0-patched/histfile.c 2018-06-11 09:14:52.000000000 -0400 +--- histfile.c 2019-05-16 15:55:57.000000000 -0400 +*************** +*** 306,309 **** +--- 312,316 ---- + { + free (input); ++ close (file); + return 0; /* don't waste time if we don't have to */ + } +*** ../readline-8.0/patchlevel 2013-11-15 08:11:11.000000000 -0500 +--- patchlevel 2014-03-21 08:28:40.000000000 -0400 +*************** +*** 1,3 **** + # Do not edit -- exists only for use by patch + +! 0 +--- 1,3 ---- + # Do not edit -- exists only for use by patch + +! 1
