You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/04/14 15:42:10 UTC
cvs commit: apache-2.0/src/lib/apr/test .cvsignore testdso.c testoc.c testpipe.c testshmem.c
trawick 00/04/14 06:42:10
Modified: src/lib/apr/test .cvsignore testdso.c testoc.c testpipe.c
testshmem.c
Log:
silly cleanup for APR test pgms to avoid compile warnings and
to get cvs to ignore some test executables and a directory
created by testproc
Revision Changes Path
1.3 +5 -0 apache-2.0/src/lib/apr/test/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/test/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 2000/01/09 05:19:02 1.2
+++ .cvsignore 2000/04/14 13:42:09 1.3
@@ -2,8 +2,13 @@
testmmap
htdigest
ab
+proctest
testcontext
testargs
+testdso
+testoc
+testpipe
+testshmem
testtime
testthread
client
1.2 +1 -0 apache-2.0/src/lib/apr/test/testdso.c
Index: testdso.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testdso.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- testdso.c 2000/04/04 03:51:55 1.1
+++ testdso.c 2000/04/14 13:42:09 1.2
@@ -4,6 +4,7 @@
#include "apr_errno.h"
#include "apr_dso.h"
#include <string.h>
+#include <stdlib.h>
#define LIB_NAME "mod_test.so"
1.4 +3 -4 apache-2.0/src/lib/apr/test/testoc.c
Index: testoc.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testoc.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- testoc.c 2000/04/05 11:24:20 1.3
+++ testoc.c 2000/04/14 13:42:09 1.4
@@ -56,9 +56,11 @@
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_lib.h"
+#include "apr_config.h"
#include "errno.h"
#include <stdio.h>
-#ifdef BEOS
+#include <stdlib.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -84,9 +86,6 @@
int main(int argc, char *argv[])
{
ap_context_t *context;
- ap_context_t *cont2;
- ap_status_t status = 0;
- ap_ssize_t nbytes = 0;
ap_proc_t *newproc = NULL;
ap_procattr_t *procattr = NULL;
char *args[3];
1.5 +1 -1 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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- testpipe.c 2000/04/03 19:31:42 1.4
+++ testpipe.c 2000/04/14 13:42:09 1.5
@@ -57,6 +57,7 @@
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_lib.h"
+#include <stdlib.h>
#ifdef BEOS
#include <unistd.h>
#endif
@@ -69,7 +70,6 @@
ap_context_t *context;
ap_file_t *readp = NULL;
ap_file_t *writep = NULL;
- ap_status_t status = 0;
ap_size_t nbytes;
char *buf;
1.6 +2 -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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- testshmem.c 2000/04/03 19:31:43 1.5
+++ testshmem.c 2000/04/14 13:42:09 1.6
@@ -57,11 +57,12 @@
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_lib.h"
+#include "apr_config.h"
#include "errno.h"
#include <stdio.h>
#include <stdlib.h>
/*#include <process.h>*/
-#ifdef BEOS
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif