Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 29621 invoked by uid 500); 3 Apr 2000 19:31:46 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 29607 invoked by uid 500); 3 Apr 2000 19:31:45 -0000 Delivered-To: apmail-apache-2.0-cvs@apache.org Date: 3 Apr 2000 19:31:44 -0000 Message-ID: <20000403193144.29603.qmail@locus.apache.org> From: rbb@locus.apache.org To: apache-2.0-cvs@apache.org Subject: cvs commit: apache-2.0/src/lib/apr/test testpipe.c testproc.c testshmem.c rbb 00/04/03 12:31:44 Modified: src/lib/apr/test testpipe.c testproc.c testshmem.c Log: Fix some of the APR test programs. Revision Changes Path 1.4 +5 -0 apache-2.0/src/lib/apr/test/testpipe.c Index: testpipe.c =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testpipe.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- testpipe.c 2000/03/31 08:36:20 1.3 +++ testpipe.c 2000/04/03 19:31:42 1.4 @@ -73,6 +73,11 @@ ap_size_t nbytes; char *buf; + if (ap_initialize() != APR_SUCCESS) { + fprintf(stderr, "Couldn't initialize."); + exit(-1); + } + atexit(ap_terminate); if (ap_create_context(&context, NULL) != APR_SUCCESS) { fprintf(stderr, "Couldn't allocate context."); exit(-1); 1.13 +5 -0 apache-2.0/src/lib/apr/test/testproc.c Index: testproc.c =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testproc.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- testproc.c 2000/03/31 08:36:20 1.12 +++ testproc.c 2000/04/03 19:31:43 1.13 @@ -78,6 +78,11 @@ char *args[3]; char *teststr; + if (ap_initialize() != APR_SUCCESS) { + fprintf(stderr, "Couldn't initialize."); + exit(-1); + } + atexit(ap_terminate); ap_create_context(&context, NULL); 1.5 +1 -1 apache-2.0/src/lib/apr/test/testshmem.c Index: testshmem.c =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testshmem.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- testshmem.c 2000/03/31 08:36:20 1.4 +++ testshmem.c 2000/04/03 19:31:43 1.5 @@ -60,7 +60,7 @@ #include "errno.h" #include #include -#include +/*#include */ #ifdef BEOS #include #endif