Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-09-03 17:59:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and      /work/SRC/openSUSE:Factory/.zsh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zsh"

Changes:
--------
--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-07-05 17:57:06.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes     2015-09-03 
18:05:46.000000000 +0200
@@ -1,0 +2,31 @@
+Tue Sep  1 18:57:20 UTC 2015 - [email protected]
+
+- Add read1char_signals.patch to fix workers/36373 
+
+-------------------------------------------------------------------
+Tue Sep  1 06:36:57 UTC 2015 - [email protected]
+
+- Update to version 5.1
+  * The print builtin has new options -x and -X to expand tabs.
+  * Several new command completions and numerous updates to others.
+  * Options to "fc" to segregate internal and shared history.
+  * All emulations including "sh" use multibyte by default; several
+    repairs to multibyte handling.
+  * ZLE supports "bracketed paste" mode to avoid interpreting pasted
+    newlines as accept-line.  Pastes can be highlighted for visibility
+    and to make it more obvious whether accept-line has occurred.
+  * Improved (though still not perfect) POSIX compatibility for getopts
+    builtin when POSIX_BUILTINS is set.
+  * New setopt APPEND_CREATE for POSIX-compatible NO_CLOBBER behavior.
+  * Completion of date values now displays in a calendar format when
+    the complist module is available.  Controllable by zstyle.
+  * New parameter UNDO_LIMIT_NO for more control over ZLE undo repeat.
+  * Several repairs/improvements to the contributed narrow-to-region
+    ZLE function.
+  * Many changes to child-process and signal handling to eliminate race
+    conditions and avoid deadlocks on descriptor and memory management.
+  * New builtin sysopen in zsh/system module for detailed control of
+    file descriptor modes. 
+- Remove printf-regress.patch, upstream.
+
+-------------------------------------------------------------------

Old:
----
  printf-regress.patch
  zsh-5.0.8.tar.bz2

New:
----
  read1char_signals.patch
  zsh-5.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zsh.spec ++++++
--- /var/tmp/diff_new_pack.76OGBa/_old  2015-09-03 18:05:56.000000000 +0200
+++ /var/tmp/diff_new_pack.76OGBa/_new  2015-09-03 18:05:56.000000000 +0200
@@ -17,13 +17,13 @@
 
 
 Name:           zsh
-Version:        5.0.8
+Version:        5.1
 Release:        0
 Summary:        Shell with comprehensive completion
 License:        MIT
 Group:          System/Shells
 Url:            http://www.zsh.org
-Source0:        http://www.zsh.org/pub/zsh-%{version}.tar.bz2
+Source0:        http://www.zsh.org/pub/zsh-%{version}.tar.xz
 Source1:        zshrc
 Source2:        zshenv
 Source3:        zprofile
@@ -39,7 +39,7 @@
 Patch1:         trim-unneeded-completions.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2:         zsh-osc-completion.patch
-Patch3:         printf-regress.patch
+Patch3:         read1char_signals.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}

++++++ read1char_signals.patch ++++++
commit 3747f6b6ab20ac9082909dd0cb3376e4e35f2c6c
Author: Barton E. Schaefer <[email protected]>
Date:   Tue Sep 1 11:26:06 2015 -0700

    36376: handle signals during read1char() so it is possible to interrupt 
correct/correctall prompts

diff --git a/Src/utils.c b/Src/utils.c
index 4c4dc55..90f7c33 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2538,11 +2538,16 @@ static int
 read1char(int echo)
 {
     char c;
+    int q = queue_signal_level();
 
+    dont_queue_signals();
     while (read(SHTTY, &c, 1) != 1) {
-       if (errno != EINTR || errflag || retflag || breaks || contflag)
+       if (errno != EINTR || errflag || retflag || breaks || contflag) {
+           restore_queue_signals(q);
            return -1;
+       }
     }
+    restore_queue_signals(q);
     if (echo)
        write_loop(SHTTY, &c, 1);
     return STOUC(c);

Reply via email to