Репозитории ALT
S: | 2.1.1-alt2.1 |
5.1: | 2.0.0-alt4 |
4.1: | 2.0.0-alt3 |
4.0: | 2.0.0-alt3 |
3.0: | 2.0.0-alt1 |
Группа :: Разработка/Прочее
Пакет: xbase
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xbase-2.1.1-gcc47.patch
Скачать
Скачать
diff --git a/xbase/bin/dumprecs.cpp b/xbase/bin/dumprecs.cpp
index a5ad188..d79a328 100644
--- a/xbase/bin/dumprecs.cpp
+++ b/xbase/bin/dumprecs.cpp
@@ -73,10 +73,8 @@ int main(int ac,char** av)
}
std::cout << "\nLoop through forwards...\n";
- int i = 0;
- while(i<MyFile.NoOfRecords()) {
+ for (int i = 0; i<MyFile.NoOfRecords(); ++i) {
MyFile.DumpRecord(i+1);
- i++;
}
MyFile.CloseDatabase(); /* close database */