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/win32 filestat.c
Date Mon, 19 May 2003 14:01:22 GMT
wrowe       2003/05/19 07:01:22

  Modified:    file_io/win32 filestat.c
  Log:
    Unless we are actively looking for a symlink, don't inform the apr_finfo_t
    that the file is a Junction.
  
  PR: 8014
  Submitted by: Kristofer Spinka <kspinka@style.net>
  
  Revision  Changes    Path
  1.79      +2 -1      apr/file_io/win32/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/filestat.c,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- filestat.c	7 Mar 2003 19:21:29 -0000	1.78
  +++ filestat.c	19 May 2003 14:01:22 -0000	1.79
  @@ -363,7 +363,8 @@
           finfo->size = 0x7fffffff;
   #endif
   
  -    if (wininfo->dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) {
  +    if (wanted & APR_FINFO_LINK &&
  +        wininfo->dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) {
           finfo->filetype = APR_LNK;
       }
       else if (wininfo->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
  
  
  

Mime
View raw message