apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: apr/test testfile.c
Date Thu, 23 Aug 2001 01:52:02 GMT
bjh         01/08/22 18:52:02

  Modified:    test     testfile.c
  Log:
  Always close what we open.
  
  Revision  Changes    Path
  1.40      +1 -0      apr/test/testfile.c
  
  Index: testfile.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testfile.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- testfile.c	2001/08/02 20:54:49	1.39
  +++ testfile.c	2001/08/23 01:52:02	1.40
  @@ -393,6 +393,7 @@
       if (extra_flags & APR_BUFFERED) {
           printf("\n        skipping apr_file_ungetc() for APR_BUFFERED as it "
                  "doesn't work yet\n");
  +        apr_file_close(f);
           return (0);
       }
       else {
  
  
  

Mime
View raw message