apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/file_io/unix copy.c
Date Mon, 08 Jul 2002 20:28:57 GMT
wrowe       2002/07/08 13:28:57

  Modified:    file_io/unix copy.c
  Log:
    Some platforms can't retrieve perms, APR_INCOMPLETE is fine [we strongly
    suspect that perms will always be set as completely as how perms may
    be retrieved.]
  
  Revision  Changes    Path
  1.3       +1 -1      apr/file_io/unix/copy.c
  
  Index: copy.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/copy.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- copy.c	1 Feb 2002 06:31:20 -0000	1.2
  +++ copy.c	8 Jul 2002 20:28:56 -0000	1.3
  @@ -74,7 +74,7 @@
       /* Get its size. */
       if (to_perms == APR_FILE_SOURCE_PERMS) {
           status = apr_file_info_get(&finfo, APR_FINFO_PROT, s);
  -        if (status) {
  +        if (status != APR_SUCCESS && status != APR_INCOMPLETE) {
               apr_file_close(s);  /* toss any error */
               return status;
           }
  
  
  

Mime
View raw message