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...@locus.apache.org on 2000/11/29 01:25:24 UTC

cvs commit: apr/test testoc.c testproc.c testsock.c

rbb         00/11/28 16:25:24

  Modified:    test     testoc.c testproc.c testsock.c
  Log:
  Get the test programs all building cleanly again.
  
  Revision  Changes    Path
  1.14      +1 -1      apr/test/testoc.c
  
  Index: testoc.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testoc.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- testoc.c	2000/11/15 21:46:38	1.13
  +++ testoc.c	2000/11/29 00:25:23	1.14
  @@ -89,7 +89,7 @@
       apr_proc_t newproc;
       apr_procattr_t *procattr = NULL;
       apr_file_t *std = NULL;
  -    char *args[3];
  +    const char *args[3];
   
       if (argc > 1) {
           while (1);
  
  
  
  1.21      +3 -3      apr/test/testproc.c
  
  Index: testproc.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testproc.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- testproc.c	2000/08/02 05:26:37	1.20
  +++ testproc.c	2000/11/29 00:25:23	1.21
  @@ -77,7 +77,7 @@
       apr_file_t *testfile = NULL;
       apr_ssize_t length;
       char *buf;
  -    char *args[3];
  +    const char *args[3];
       char *teststr;
   
       if (apr_initialize() != APR_SUCCESS) {
  @@ -132,8 +132,8 @@
       }
       fprintf(stdout, "OK.\n");
   
  -    args[0] = apr_pstrdup(context, "testproc");
  -    args[1] = apr_pstrdup(context, "-X");
  +    args[0] = "testproc";
  +    args[1] = "-X";
       args[2] = NULL;
       
       fprintf(stdout, "Creating a new process.......");
  
  
  
  1.12      +1 -1      apr/test/testsock.c
  
  Index: testsock.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testsock.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- testsock.c	2000/08/02 05:26:37	1.11
  +++ testsock.c	2000/11/29 00:25:23	1.12
  @@ -73,7 +73,7 @@
       apr_proc_t proc2;
       apr_status_t s1;
       apr_status_t s2;
  -    char *args[2];
  +    const char *args[2];
   
       fprintf(stdout, "Initializing.........");
       if (apr_initialize() != APR_SUCCESS) {