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/01/23 20:54:46 UTC

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

wrowe       01/01/23 11:54:46

  Modified:    include/arch/win32 fileio.h
  Log:
    New constants for win32 - perhaps these are better setup for all
    platforms?
  
  Revision  Changes    Path
  1.42      +7 -0      apr/include/arch/win32/fileio.h
  
  Index: fileio.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/win32/fileio.h,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- fileio.h	2001/01/23 04:10:47	1.41
  +++ fileio.h	2001/01/23 19:54:42	1.42
  @@ -98,6 +98,13 @@
                                     const char* srcstr);
   apr_status_t unicode_to_utf8_path(char* dststr, apr_size_t dstchars, 
                                     const apr_wchar_t* srcstr);
  +
  +/* An arbitrary size that is digestable. True max is a bit less than 32000 */
  +#define APR_PATH_MAX 8192
  +#define APR_FILE_MAX MAX_PATH
  +#else /* !APR_HAS_UNICODE_FS */
  +#define APR_PATH_MAX MAX_PATH
  +#define APR_FILE_MAX MAX_PATH
   #endif
   
   #define APR_FILE_BUFSIZE 4096