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 Wed, 28 Nov 2001 14:40:26 GMT
wrowe       01/11/28 06:40:26

  Modified:    file_io/win32 filestat.c
  Log:
    Now that hurts... fix of my patch from Barry Pederson <barryp@yahoo.com>
  
  Revision  Changes    Path
  1.60      +2 -2      apr/file_io/win32/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/filestat.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- filestat.c	2001/11/27 03:19:48	1.59
  +++ filestat.c	2001/11/28 14:40:26	1.60
  @@ -246,9 +246,9 @@
           if (whatfile == MORE_OF_WFSPEC) {
               apr_wchar_t *wfile = (apr_wchar_t*) ufile;
               int fix = 0;
  -            if (wcsncmp(wfile, L"\\\\?\\", 4)) {
  +            if (wcsncmp(wfile, L"\\\\?\\", 4) == 0) {
                   fix = 4;
  -                if (wcsncmp(wfile + fix, L"UNC\\", 4))
  +                if (wcsncmp(wfile + fix, L"UNC\\", 4) == 0)
                       wfile[6] = L'\\', fix = 6;
               }
               rv = GetNamedSecurityInfoW(wfile + fix, 
  
  
  

Mime
View raw message