You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2001/09/09 08:16:29 UTC

cvs commit: apr/include/arch/win32 fileio.h

wrowe       01/09/08 23:16:29

  Modified:    include/arch/win32 fileio.h
  Log:
    My bad - this was correct (APR_FILE_MAX, I read it as APR_PATH_MAX.)
    But it really isn't, the max filename (element) length is dependent
    on the filesystem itself.
  
  Revision  Changes    Path
  1.57      +2 -5      apr/include/arch/win32/fileio.h
  
  Index: fileio.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/win32/fileio.h,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- fileio.h	2001/09/09 06:03:05	1.56
  +++ fileio.h	2001/09/09 06:16:29	1.57
  @@ -108,12 +108,9 @@
   apr_status_t unicode_to_utf8_path(char* dststr, apr_size_t dstchars, 
                                     const apr_wchar_t* srcstr);
   
  -/* XXX: ONE OF THESE IS WRONG, WHO CHANGED IT?
  - */
  +#endif /* APR_HAS_UNICODE_FS */
  +
   #define APR_FILE_MAX MAX_PATH
  -#else /* !APR_HAS_UNICODE_FS */
  -#define APR_FILE_MAX MAX_PATH
  -#endif
   
   #define APR_FILE_BUFSIZE 4096