Hello community,

here is the log from the commit of package enigmail for openSUSE:Factory 
checked in at 2016-11-22 18:58:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/enigmail (Old)
 and      /work/SRC/openSUSE:Factory/.enigmail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "enigmail"

Changes:
--------
--- /work/SRC/openSUSE:Factory/enigmail/enigmail.changes        2016-11-14 
20:15:37.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.enigmail.new/enigmail.changes   2016-11-22 
18:58:34.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Nov 21 12:52:48 UTC 2016 - [email protected]
+
+- enigmail 1.9.6.1:
+  * fix locating of GnuPG executable (openSUSE not affected)
+
+-------------------------------------------------------------------

Old:
----
  enigmail-1.9.6.tar.gz
  enigmail-1.9.6.tar.gz.asc

New:
----
  enigmail-1.9.6.1.tar.gz
  enigmail-1.9.6.1.tar.gz.asc

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

Other differences:
------------------
++++++ enigmail.spec ++++++
--- /var/tmp/diff_new_pack.0PCwlz/_old  2016-11-22 18:58:35.000000000 +0100
+++ /var/tmp/diff_new_pack.0PCwlz/_new  2016-11-22 18:58:35.000000000 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           enigmail
-Version:        1.9.6
+Version:        1.9.6.1
 Release:        0
 Summary:        OpenPGP addon for Thunderbird and SeaMonkey
 License:        MPL-2.0

++++++ enigmail-1.9.6.tar.gz -> enigmail-1.9.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/enigmail/Makefile new/enigmail/Makefile
--- old/enigmail/Makefile       2016-11-02 18:05:38.000000000 +0100
+++ new/enigmail/Makefile       2016-11-16 13:04:27.000000000 +0100
@@ -3,7 +3,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 XPI_MODULE     = enigmail
-XPI_MODULE_VERS = 1.9.6
+XPI_MODULE_VERS = 1.9.6.1
 
 DEPTH          = .
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/enigmail/ipc/modules/subprocess.jsm 
new/enigmail/ipc/modules/subprocess.jsm
--- old/enigmail/ipc/modules/subprocess.jsm     2016-11-02 18:05:38.000000000 
+0100
+++ new/enigmail/ipc/modules/subprocess.jsm     2016-11-16 13:04:27.000000000 
+0100
@@ -1123,6 +1123,7 @@
     active = true,
     done = false,
     exitCode = -1,
+    workerExitCode = 0,
     child = {},
     pid = -1,
     writeWorker = [],
@@ -1656,7 +1657,7 @@
           break;
         case "done":
           debugLog("Pipe " + name + " closed\n");
-          updateExitCode(event.data.data);
+          if (event.data.data !== 0) workerExitCode = event.data.data;
           --readers;
           if (readers === 0) cleanup();
           break;
@@ -1736,13 +1737,6 @@
     }
   }
 
-  function updateExitCode(code) {
-    if (exitCode > -2 && code >= 0) {
-      exitCode = code;
-    }
-    exitCode = exitCode % 0xFF;
-  }
-
   function cleanup() {
     debugLog("Cleanup called\n");
 
@@ -1759,10 +1753,18 @@
       var result, status = ctypes.int();
       result = waitpid(child.pid, status.address(), 0);
 
-      if (exitCode > -2 && result > 0) {
-        updateExitCode((status.value & 0xff00) >> 8);
+      if (exitCode > -2) {
+        if (result > 0)
+          exitCode = status.value;
+        else
+        if (workerExitCode >= 0)
+          exitCode = workerExitCode;
+        else
+          exitCode = status.value;
       }
 
+      exitCode = exitCode % 0xFF;
+
       for (i = 0; i < writeWorker.length; i++) {
         if (writeWorker[i])
           writeWorker[i].postMessage({
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/enigmail/ipc/modules/subprocess_worker_unix.js 
new/enigmail/ipc/modules/subprocess_worker_unix.js
--- old/enigmail/ipc/modules/subprocess_worker_unix.js  2016-11-02 
18:05:38.000000000 +0100
+++ new/enigmail/ipc/modules/subprocess_worker_unix.js  2016-11-16 
13:04:27.000000000 +0100
@@ -252,10 +252,10 @@
       result = libcFunc.waitpid(pid, status.address(), WNOHANG);
       if (result > 0) {
         pollTimeout = NOWAIT;
-        exitCode = (parseInt(status.value, 10) & 0xff00) >> 8;
+        exitCode = parseInt(status.value, 10);
         postMessage({
           msg: "debug",
-          data: "waitpid signaled subprocess stop, exitcode=" + exitCode
+          data: "waitpid signaled subprocess stop, exitcode=" + status.value
         });
       }
       else if (result < 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/enigmail/package/install.rdf 
new/enigmail/package/install.rdf
--- old/enigmail/package/install.rdf    2016-11-02 18:05:38.000000000 +0100
+++ new/enigmail/package/install.rdf    2016-11-16 13:04:27.000000000 +0100
@@ -5,7 +5,7 @@
 
   <Description about="urn:mozilla:install-manifest">
     <em:id>{847b3a00-7ab1-11d4-8f02-006008948af5}</em:id>
-    <em:version>1.9.6</em:version>
+    <em:version>1.9.6.1</em:version>
     <em:type>2</em:type> <!-- type = extension -->
     <em:unpack>true</em:unpack>
 



Reply via email to