You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rb...@apache.org on 2004/03/15 04:32:44 UTC

cvs commit: apr/test .cvsignore occhild.c testshm.c testshmconsumer.c testshmproducer.c tryread.c

rbb         2004/03/14 19:32:44

  Modified:    test     .cvsignore occhild.c testshm.c testshmconsumer.c
                        testshmproducer.c tryread.c
  Log:
  Cleanup some emits
  
  Revision  Changes    Path
  1.50      +1 -0      apr/test/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/apr/test/.cvsignore,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- .cvsignore	13 Mar 2004 12:34:49 -0000	1.49
  +++ .cvsignore	15 Mar 2004 03:32:43 -0000	1.50
  @@ -78,6 +78,7 @@
   testall.opt
   testall.plg
   proc_child
  +sockchild
   *.bb
   *.bbg
   *.da
  
  
  
  1.7       +5 -0      apr/test/occhild.c
  
  Index: occhild.c
  ===================================================================
  RCS file: /home/cvs/apr/test/occhild.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- occhild.c	15 Mar 2004 03:28:31 -0000	1.6
  +++ occhild.c	15 Mar 2004 03:32:43 -0000	1.7
  @@ -1,5 +1,10 @@
   #include "apr.h"
   #include "apr_file_io.h"
  +#include "apr.h"
  +
  +#if APR_HAVE_STDLIB_H
  +#include <stdlib.h>
  +#endif
   
   int main(void)
   {
  
  
  
  1.13      +3 -7      apr/test/testshm.c
  
  Index: testshm.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testshm.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- testshm.c	13 Mar 2004 21:49:38 -0000	1.12
  +++ testshm.c	15 Mar 2004 03:32:43 -0000	1.13
  @@ -22,14 +22,10 @@
   #include "apr_thread_proc.h"
   #include "apr_time.h"
   #include "testshm.h"
  +#include "apr.h"
   
  -/* XXX I'm sure there has to be a better way to do this ... */
  -#ifdef WIN32
  -#define EXTENSION ".exe"
  -#elif NETWARE
  -#define EXTENSION ".nlm"
  -#else
  -#define EXTENSION
  +#if APR_HAVE_STDLIB_H
  +#include <stdlib.h>
   #endif
   
   #if APR_HAS_SHARED_MEMORY
  
  
  
  1.10      +6 -0      apr/test/testshmconsumer.c
  
  Index: testshmconsumer.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testshmconsumer.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- testshmconsumer.c	13 Mar 2004 21:49:38 -0000	1.9
  +++ testshmconsumer.c	15 Mar 2004 03:32:43 -0000	1.10
  @@ -20,6 +20,12 @@
   #include "apr_strings.h"
   #include "apr_time.h"
   #include "testshm.h"
  +#include "apr.h"
  +
  +#if APR_HAVE_STDLIB_H
  +#include <stdlib.h>
  +#endif
  +
   
   #if APR_HAS_SHARED_MEMORY
   
  
  
  
  1.10      +6 -0      apr/test/testshmproducer.c
  
  Index: testshmproducer.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testshmproducer.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- testshmproducer.c	13 Mar 2004 21:49:38 -0000	1.9
  +++ testshmproducer.c	15 Mar 2004 03:32:43 -0000	1.10
  @@ -20,6 +20,12 @@
   #include "apr_strings.h"
   #include "apr_time.h"
   #include "testshm.h"
  +#include "apr.h"
  +
  +#if APR_HAVE_STDLIB_H
  +#include <stdlib.h>
  +#endif
  +
   
   #if APR_HAS_SHARED_MEMORY
   static void msgput(int boxnum, char *msg)
  
  
  
  1.2       +6 -0      apr/test/tryread.c
  
  Index: tryread.c
  ===================================================================
  RCS file: /home/cvs/apr/test/tryread.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tryread.c	13 Mar 2004 12:34:49 -0000	1.1
  +++ tryread.c	15 Mar 2004 03:32:43 -0000	1.2
  @@ -36,6 +36,12 @@
   #include "apr_pools.h"
   #include "apr_file_io.h"
   #include "apr_general.h"
  +#include "apr.h"
  +
  +#if APR_HAVE_STDLIB_H
  +#include <stdlib.h>
  +#endif
  +
   
   int main(int argc, const char * const *argv)
   {