SOURCES: par2cmdline-fix-crash-in-quiet-mode.patch (NEW) - bugfix.

pluto pluto at pld-linux.org
Fri Nov 4 11:30:22 CET 2005


Author: pluto                        Date: Fri Nov  4 10:30:22 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- bugfix.

---- Files affected:
SOURCES:
   par2cmdline-fix-crash-in-quiet-mode.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/par2cmdline-fix-crash-in-quiet-mode.patch
diff -u /dev/null SOURCES/par2cmdline-fix-crash-in-quiet-mode.patch:1.1
--- /dev/null	Fri Nov  4 11:30:22 2005
+++ SOURCES/par2cmdline-fix-crash-in-quiet-mode.patch	Fri Nov  4 11:30:17 2005
@@ -0,0 +1,16 @@
+--- par2cmdline-0.4/par2creatorsourcefile.cpp.orig	2004-04-15 13:45:23.000000000 +0000
++++ par2cmdline-0.4/par2creatorsourcefile.cpp	2005-11-04 10:44:17.142781696 +0000
+@@ -213,11 +213,12 @@
+         }
+       }
+ 
++      offset += want;
++
+       if (noiselevel > CommandLine::nlQuiet)
+       {
+         // Display progress
+         u32 oldfraction = (u32)(1000 * offset / filesize);
+-        offset += want;
+         u32 newfraction = (u32)(1000 * offset / filesize);
+         if (oldfraction != newfraction)
+         {
================================================================



More information about the pld-cvs-commit mailing list