aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-10-06 16:17:13 +0000
committerMarcus Brinkmann <[email protected]>2003-10-06 16:17:13 +0000
commit0d0378a200f7347e6b8071bff8f519aaaa44bce1 (patch)
treebacac1cd0410a4305afad3cb32640f2b6d9763eb /tests
parent2003-10-06 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-0d0378a200f7347e6b8071bff8f519aaaa44bce1.tar.gz
gpgme-0d0378a200f7347e6b8071bff8f519aaaa44bce1.zip
doc/
2003-10-06 Marcus Brinkmann <[email protected]> * gpgme.texi (Signal Handling): New section. gpgme/ 2003-10-06 Marcus Brinkmann <[email protected]> * io.h (_gpgme_io_subsystem_init): New prototype. * posix-io.c (_gpgme_io_subsystem_init): Add function. (_gpgme_io_spawn): Do not fixup signal handler here. * version.c (do_subsystem_inits): Call _gpgme_io_subsystem_init. tests/ 2003-10-06 Marcus Brinkmann <[email protected]> * gpg/t-thread1.c (thread_one): Do not call initialize_gpgme. Likewise.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/gpg/t-thread1.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 01256675..e48dd6f2 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-06 Marcus Brinkmann <[email protected]>
+
+ * gpg/t-thread1.c (thread_one): Do not call initialize_gpgme.
+ Likewise.
+
2003-09-14 Marcus Brinkmann <[email protected]>
* gpg/t-thread1.c (main): Call init_gpgme here.
diff --git a/tests/gpg/t-thread1.c b/tests/gpg/t-thread1.c
index 4c003b12..50549746 100644
--- a/tests/gpg/t-thread1.c
+++ b/tests/gpg/t-thread1.c
@@ -37,8 +37,6 @@ thread_one (void *name)
{
int i;
- initialize_gpgme ();
-
for (i = 0; i < ROUNDS; i++)
{
gpgme_ctx_t ctx;
@@ -89,7 +87,6 @@ void *
thread_two (void *name)
{
int i;
- initialize_gpgme ();
const char *cipher_1_asc = make_filename ("cipher-1.asc");
char *agent_info;
@@ -143,7 +140,7 @@ main (int argc, char *argv[])
init_gpgme (GPGME_PROTOCOL_OpenPGP);
pthread_create (&tone, NULL, thread_one, "A");
- pthread_create (&ttwo, NULL, thread_two, "A");
+ pthread_create (&ttwo, NULL, thread_two, "B");
pthread_join (tone, NULL);
pthread_join (ttwo, NULL);