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 open.c
Date Wed, 05 Sep 2001 04:50:30 GMT
wrowe       01/09/04 21:50:30

  Modified:    file_io/win32 open.c
  Log:
    Ok, strict in response, forgiving of the input.  This assures we won't
    double-escape //? anything if it's passed in this notation.
  
  Revision  Changes    Path
  1.82      +2 -1      apr/file_io/win32/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/open.c,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- open.c	2001/09/05 04:49:08	1.81
  +++ open.c	2001/09/05 04:50:30	1.82
  @@ -90,7 +90,8 @@
           t += 4;
       }
       else if ((srcstr[0] == '/' || srcstr[0] == '\\')
  -          && (srcstr[1] == '/' || srcstr[1] == '\\')) {
  +          && (srcstr[1] == '/' || srcstr[1] == '\\')
  +          && (srcstr[2] != '?')) {
           /* Skip the slashes */
           srcstr += 2;
           wcscpy (retstr, L"\\\\?\\UNC\\");
  
  
  

Mime
View raw message