wrowe 01/03/30 23:29:06
Modified: test testmd5.c
Log:
This hurts on win32 at the moment, work around apr_terminate
Revision Changes Path
1.7 +6 -1 apr/test/testmd5.c
Index: testmd5.c
===================================================================
RCS file: /home/cvs/apr/test/testmd5.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- testmd5.c 2001/02/16 04:16:09 1.6
+++ testmd5.c 2001/03/31 07:29:06 1.7
@@ -83,6 +83,11 @@
"\xd1\xa1\xc0\x97\x8a\x60\xbb\xfb\x2a\x25\x46\x9d\xa5\xae\xd0\xb0"}
};
+static void closeapr(void)
+{
+ apr_terminate();
+}
+
static void try(const void *buf, size_t bufLen, apr_xlate_t *xlate,
const void *digest)
{
@@ -152,7 +157,7 @@
rv = apr_initialize();
assert(!rv);
- atexit(apr_terminate);
+ atexit(closeapr);
rv = apr_pool_create(&pool, NULL);