dd upstream bug report (by he@, thanks!)

This commit is contained in:
wiz 2014-10-30 14:30:35 +00:00
parent b14664b446
commit 9fcddb17b6
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.21 2014/10/29 12:28:50 he Exp $
$NetBSD: distinfo,v 1.22 2014/10/30 14:30:35 wiz Exp $
SHA1 (libgpg-error-1.17.tar.bz2) = ba5858b2947e7272dd197c87bac9f32caf29b256
RMD160 (libgpg-error-1.17.tar.bz2) = 3a86ef8773527b2e235e007981eda3472719e6b3
Size (libgpg-error-1.17.tar.bz2) = 669914 bytes
SHA1 (patch-src_estream.c) = e3086b363ef14f1b24cac7334c8ecbf8e94ddd3b
SHA1 (patch-src_estream.c) = 792929cebef6ba7860da89c70742b3cd28c9c92d
SHA1 (patch-src_gpg-error-config.in) = e22e99208192971f8c123d7ee9b22c5f615669e1

View file

@ -1,10 +1,12 @@
$NetBSD: patch-src_estream.c,v 1.1 2014/10/29 12:28:50 he Exp $
$NetBSD: patch-src_estream.c,v 1.2 2014/10/30 14:30:35 wiz Exp $
Don't use atexit(), since this library mey be dlopen()ed
and dlclose()d before exit() is called.
Instead mark the do_deinit() function as a destructor.
https://bugs.g10code.com/gnupg/issue1749
--- src/estream.c.orig 2014-09-11 09:38:21.000000000 +0000
+++ src/estream.c
@@ -471,6 +471,7 @@ do_list_remove (estream_t stream, int wi