You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2002/11/26 23:53:50 UTC

cvs commit: apr/file_io/win32 filepath.c

bnicholes    2002/11/26 14:53:50

  Modified:    file_io/win32 filepath.c
  Log:
  Allow for the path length to change while resolving each segment
  
  Revision  Changes    Path
  1.29      +2 -2      apr/file_io/win32/filepath.c
  
  Index: filepath.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/filepath.c,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- filepath.c	20 Nov 2002 03:50:20 -0000	1.28
  +++ filepath.c	26 Nov 2002 22:53:50 -0000	1.29
  @@ -875,12 +875,12 @@
                   == APR_SUCCESS) {
                   apr_size_t namelen = strlen(finfo.name);
   
  -#if defined(OS2) || defined(NETWARE) /* only has case folding, never aliases that change the length */
  +#if defined(OS2) /* only has case folding, never aliases that change the length */
   
                   if (memcmp(finfo.name, path + keptlen, seglen) != 0) {
                       memcpy(path + keptlen, finfo.name, namelen);
                   }
  -#else /* WIN32; here there be aliases that gire and gimble and change length */
  +#else /* WIN32 || NETWARE; here there be aliases that gire and gimble and change length */
   
                   if ((namelen != seglen) || 
                       (memcmp(finfo.name, path + keptlen, seglen) != 0))