apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/test testfile.c
Date Thu, 14 Nov 2002 12:41:35 GMT
jorton      2002/11/14 04:41:35

  Modified:    test     testfile.c
  Log:
  Fix location passed to apr_file_read in test_fileclose.
  
  Revision  Changes    Path
  1.54      +2 -2      apr/test/testfile.c
  
  Index: testfile.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testfile.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- testfile.c	10 Nov 2002 02:44:50 -0000	1.53
  +++ testfile.c	14 Nov 2002 12:41:35 -0000	1.54
  @@ -143,14 +143,14 @@
       
   static void test_fileclose(CuTest *tc)
   {
  -    char *str;
  +    char str;
       apr_status_t rv;
       apr_size_t one = 1;
   
       rv = apr_file_close(filetest);
       CuAssertIntEquals(tc, rv, APR_SUCCESS);
       /* We just closed the file, so this should fail */
  -    rv = apr_file_read(filetest, str, &one);
  +    rv = apr_file_read(filetest, &str, &one);
       CuAssertIntEquals(tc, APR_EBADF, rv);
   }
   
  
  
  

Mime
View raw message