apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Pilch-Bisson <ke...@pilch-bisson.net>
Subject Re: cvs commit: apr/file_io/unix dir.c
Date Tue, 13 Feb 2001 14:49:59 GMT
On Mon, Feb 12, 2001 at 04:11:55PM -0600, William A. Rowe, Jr. wrote:
> From: "Jeff Trawick" <trawickj@bellsouth.net>
> Sent: Monday, February 12, 2001 3:42 PM
> 
> 
> > apr.hw:
> > 
> > Move this code from include/arch/win32/fileio.h to apr.hw but also add
> > any needed includes (what are they?):
> > 
> > #if APR_HAS_UNICODE_FS
> > /* 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
> 
> 
> The MAX_PATH comes from windows.h, which is included right off the top in apr.hw.
> 
> 
> > apr.h.in:
> > 
> > include sys/limits.h and limits.h then
> > 
> > #if defined(PATH_MAX)
> > #define APR_PATH_MAX PATH_MAX
> > #elif defined(_POSIX_PATH_MAX)
> > #define APR_PATH_MAX _POSIX_PATH_MAX
> > #else
> > #error Fix APR_PATH_MAX for your platform.
> > #endif
> > 
> > -- 
> > Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
> >        http://www.geocities.com/SiliconValley/Park/9289/
> >              Born in Roswell... married an alien...
> > 

Has it been decided that this will happen?  If so, any idea when?

-- 
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson
kevin@pilch-bisson.net
http://www.pilch-bisson.net
PGP Public Key At http://pgp.pilch-bisson.net

Mime
View raw message