httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/file_io/win32 open.c
Date Sat, 11 Nov 2000 02:27:06 GMT
wrowe       00/11/10 18:27:06

  Modified:    src/lib/apr/file_io/win32 open.c
  Log:
    Roll everything into a single unicode -> utf8 path converter, and what
    happens?  I break it (big surprize.)
  
  Revision  Changes    Path
  1.60      +1 -1      apache-2.0/src/lib/apr/file_io/win32/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/open.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- open.c	2000/11/11 02:20:29	1.59
  +++ open.c	2000/11/11 02:27:06	1.60
  @@ -119,7 +119,7 @@
        * allows '/' path seperators, and APR always uses '/'s.
        */
       int srcremains = wcslen(srcstr) + 1;
  -    int retremains = (srcremains - 5) * 3 + 1;
  +    int retremains = (srcremains - 1) * 3 + 1;
       char *t, *retstr;
       if (srcstr[0] == L'\\' && srcstr[1] == L'\\' && 
           srcstr[2] == L'?'  && srcstr[3] == L'\\') {
  
  
  

Mime
View raw message