summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 8e6fbae..a636eeb 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -10068,6 +10068,10 @@ MSHook(id, NSUserDefaults$objectForKey$, NSUserDefaults *self, SEL _cmd, NSStrin
}
int main(int argc, char *argv[]) {
+ int fd(open("/tmp/cydia.log", O_WRONLY | O_APPEND | O_CREAT, 0644));
+ dup2(fd, 2);
+ close(fd);
+
NSAutoreleasePool *pool([[NSAutoreleasePool alloc] init]);
_trace();