summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-03-17 07:06:06 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:59 +0000
commite59669fd4c835122cb849fd7cd2d9bfa7c236a9b (patch)
tree9569839e69adffe01c930535bb9007eea2066ac9 /Cydia.mm
parent0010fa772057784c419c57460a0a215d7ef1b237 (diff)
We like it when things compile.
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm8
1 files changed, 5 insertions, 3 deletions
diff --git a/Cydia.mm b/Cydia.mm
index e0bd10a..5936218 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -72,6 +72,8 @@
#include <ext/stdio_filebuf.h>
+#undef ABS
+
#include <apt-pkg/acquire.h>
#include <apt-pkg/acquire-item.h>
#include <apt-pkg/algorithms.h>
@@ -372,7 +374,7 @@ static const CFStringCompareFlags LaxCompareFlags_ = kCFCompareCaseInsensitive |
#define lprintf(args...) fprintf(stderr, args)
-#define ForRelease 1
+#define ForRelease 0
#define TraceLogging (1 && !ForRelease)
#define HistogramInsertionSort (0 && !ForRelease)
#define ProfileTimes (0 && !ForRelease)
@@ -4839,7 +4841,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) clearSection {
if (basic_ != nil) {
- [basic_ release]
+ [basic_ release];
basic_ = nil;
}
@@ -4901,7 +4903,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
name_ = [UCLocalize("ALL_PACKAGES") retain];
count_ = nil;
} else {
- basic_ = [section name_];
+ basic_ = [section name];
if (basic_ != nil)
basic_ = [basic_ retain];