diff options
author | araujo <araujo@FreeBSD.org> | 2009-03-16 02:27:46 +0800 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2009-03-16 02:27:46 +0800 |
commit | 805f15b3c11f79c2e6826987ceca8eae23b7097e (patch) | |
tree | b06b9b2d563971ca14373f35fd5cde92eb007c22 /archivers/par2cmdline/files | |
parent | 0d627b3b7e4f618fb65ae4933f022f672e2f5a06 (diff) | |
download | freebsd-ports-gnome-805f15b3c11f79c2e6826987ceca8eae23b7097e.tar.gz freebsd-ports-gnome-805f15b3c11f79c2e6826987ceca8eae23b7097e.tar.zst freebsd-ports-gnome-805f15b3c11f79c2e6826987ceca8eae23b7097e.zip |
- Fixes a missed offset update when using quiet mode with par2create.
This bug has been referenced here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1802742&group_id=30568&atid=399698
http://sourceforge.net/tracker/index.php?func=detail&aid=1085638&group_id=30568&atid=399698
PR: ports/132494
Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> (maintainer)
Diffstat (limited to 'archivers/par2cmdline/files')
-rw-r--r-- | archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp b/archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp new file mode 100644 index 000000000000..b275a374dfb6 --- /dev/null +++ b/archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp @@ -0,0 +1,13 @@ +--- par2creatorsourcefile.cpp.orig 2009-03-10 07:10:35.860499029 +0000 ++++ par2creatorsourcefile.cpp 2009-03-10 07:12:53.111712521 +0000 +@@ -224,6 +224,10 @@ + cout << newfraction/10 << '.' << newfraction%10 << "%\r" << flush; + } + } ++ else ++ { ++ offset += want; ++ } + } + + // Did we finish the last block |