You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
733 B

diff -u -r ../go/src/runtime/cgo/gcc_android.c ./src/runtime/cgo/gcc_android.c
--- ../go/src/runtime/cgo/gcc_android.c 2015-08-06 00:36:35.000000000 -0400
+++ ./src/runtime/cgo/gcc_android.c 2015-08-16 16:08:05.346940583 -0400
@@ -11,21 +11,11 @@
{
va_list ap;
- // Write to both stderr and logcat.
- //
- // When running from an .apk, /dev/stderr and /dev/stdout
- // redirect to /dev/null. And when running a test binary
- // via adb shell, it's easy to miss logcat.
-
fprintf(stderr, "runtime/cgo: ");
va_start(ap, format);
vfprintf(stderr, format, ap);
va_end(ap);
fprintf(stderr, "\n");
- va_start(ap, format);
- __android_log_vprint(ANDROID_LOG_FATAL, "runtime/cgo", format, ap);
- va_end(ap);
-
abort();
}