OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454ec89
)
Call exit instead of abort on unhandled errors
author
Steve Kondik
<shade@chemlab.org>
Sun, 7 Jul 2013 07:34:45 +0000
(
00:34
-0700)
committer
Steve Kondik
<shade@chemlab.org>
Mon, 8 Jul 2013 01:26:18 +0000
(18:26 -0700)
* Abort will show us a very scary stacktrace on Android under some
situations such as a card being ejected. Call exit(-1) instead.
libexfat/log.c
patch
|
blob
|
history
diff --git
a/libexfat/log.c
b/libexfat/log.c
index
034cc09
..
f359c04
100644
(file)
--- a/
libexfat/log.c
+++ b/
libexfat/log.c
@@
-45,7
+45,11
@@
void exfat_bug(const char* format, ...)
vsyslog(LOG_CRIT, format, aq);
va_end(aq);
+#if defined(__ANDROID__)
+ exit(-1);
+#else
abort();
+#endif
}
/*