Browse Source
Also remove workarounds for libgpg-error on Android < 7 as detailed in https://github.com/termux/termux-packages/issues/933.android-5
3 changed files with 2 additions and 27 deletions
@ -1,13 +0,0 @@ |
|||||
diff -u -r ../gnupg-2.1.11/g10/gpg.c ./g10/gpg.c
|
|
||||
--- ../gnupg-2.1.11/g10/gpg.c 2016-01-26 07:05:55.000000000 -0500
|
|
||||
+++ ./g10/gpg.c 2016-04-14 21:42:15.168898294 -0400
|
|
||||
@@ -4669,6 +4669,9 @@
|
|
||||
if (opt.debug) |
|
||||
gcry_control (GCRYCTL_DUMP_SECMEM_STATS ); |
|
||||
|
|
||||
+ /* XXX: Workaround for libgpg-error atexit()-callback not working. */
|
|
||||
+ es_fflush(NULL);
|
|
||||
+
|
|
||||
emergency_cleanup (); |
|
||||
|
|
||||
rc = rc? rc : log_get_errorcount(0)? 2 : g10_errors_seen? 1 : 0; |
|
@ -1,12 +0,0 @@ |
|||||
diff -u -r ../gnupg-2.1.11/tools/gpgconf.c ./tools/gpgconf.c
|
|
||||
--- ../gnupg-2.1.11/tools/gpgconf.c 2016-01-18 02:14:56.000000000 -0500
|
|
||||
+++ ./tools/gpgconf.c 2016-04-14 20:06:56.058590579 -0400
|
|
||||
@@ -393,5 +395,8 @@
|
|
||||
if (es_fclose (outfp)) |
|
||||
gc_error (1, errno, "error closing '%s'", opt.outfile); |
|
||||
|
|
||||
+ /* XXX: Workaround for libgpg-error atexit()-callback not working. */
|
|
||||
+ es_fflush(NULL);
|
|
||||
+
|
|
||||
return 0; |
|
||||
} |
|
Loading…
Reference in new issue