[packages/xbase64] - one more fix: redefined variable in dumprecs

qboosh qboosh at pld-linux.org
Sat Jan 5 19:33:51 CET 2013


commit e86c3e215503da28a9fa880aa0d80728aced0520
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 5 19:33:50 2013 +0100

    - one more fix: redefined variable in dumprecs

 xbase64-fix.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/xbase64-fix.patch b/xbase64-fix.patch
index 70355c4..31a031d 100644
--- a/xbase64-fix.patch
+++ b/xbase64-fix.patch
@@ -36,3 +36,18 @@
  
  void xbNodeLink::AddNode(xbNodeLink* node)
  {
+--- xbase64-3.1.2/bin/dumprecs.cpp.orig	2004-03-25 16:58:24.000000000 +0100
++++ xbase64-3.1.2/bin/dumprecs.cpp	2013-01-05 19:31:58.354017486 +0100
+@@ -84,9 +84,9 @@
+     }
+ 
+     std::cout << "Processing file sequentially from beginning..." << std::endl;
+-    int i = 0;
+-    while(i<MyFile.NoOfRecords()){
+-      rc = MyFile.DumpRecord(++i);
++    int j = 0;
++    while(j<MyFile.NoOfRecords()){
++      rc = MyFile.DumpRecord(++j);
+       if( rc != XB_NO_ERROR )
+         x.DisplayError( rc );
+     }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xbase64.git/commitdiff/e86c3e215503da28a9fa880aa0d80728aced0520



More information about the pld-cvs-commit mailing list