Hello community,

here is the log from the commit of package syncthing for openSUSE:Factory 
checked in at 2016-04-28 16:56:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/syncthing (Old)
 and      /work/SRC/openSUSE:Factory/.syncthing.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "syncthing"

Changes:
--------
--- /work/SRC/openSUSE:Factory/syncthing/syncthing.changes      2016-03-26 
18:15:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.syncthing.new/syncthing.changes 2016-04-28 
17:00:13.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Apr 16 19:16:23 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to version 0.12.22 (boo#976937):
+  * cmd/syncthing: Skip a calculation if timediff is zero.
+
+-------------------------------------------------------------------

Old:
----
  syncthing-source-v0.12.21.tar.gz

New:
----
  syncthing-source-v0.12.22.tar.gz

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

Other differences:
------------------
++++++ syncthing.spec ++++++
--- /var/tmp/diff_new_pack.YdBweS/_old  2016-04-28 17:00:16.000000000 +0200
+++ /var/tmp/diff_new_pack.YdBweS/_new  2016-04-28 17:00:16.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           syncthing
-Version:        0.12.21
+Version:        0.12.22
 Release:        0
 Summary:        FOSS Continuous File Synchronisation
 License:        MPL-2.0

++++++ syncthing-source-v0.12.21.tar.gz -> syncthing-source-v0.12.22.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/syncthing/RELEASE new/syncthing/RELEASE
--- old/syncthing/RELEASE       2016-03-25 10:10:53.000000000 +0100
+++ new/syncthing/RELEASE       2016-04-13 11:54:12.000000000 +0200
@@ -1 +1 @@
-v0.12.21
+v0.12.22
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/syncthing/cmd/syncthing/gui_windows.go 
new/syncthing/cmd/syncthing/gui_windows.go
--- old/syncthing/cmd/syncthing/gui_windows.go  2016-03-25 10:10:51.000000000 
+0100
+++ new/syncthing/cmd/syncthing/gui_windows.go  2016-04-13 11:54:11.000000000 
+0200
@@ -42,6 +42,10 @@
 
                curTime := time.Now().UnixNano()
                timeDiff := curTime - prevTime
+               // This is sometimes 0, no clue why.
+               if timeDiff == 0 {
+                       continue
+               }
                curUsage := ktime.Nanoseconds() + utime.Nanoseconds()
                usageDiff := curUsage - prevUsage
                cpuUsageLock.Lock()
Files old/syncthing/extra/FAQ.pdf and new/syncthing/extra/FAQ.pdf differ
Files old/syncthing/extra/Getting-Started.pdf and 
new/syncthing/extra/Getting-Started.pdf differ


Reply via email to