Joost Verburg <[EMAIL PROTECTED]> writes:

> 
> > Index: src/support/package.C.in
> > ===================================================================
> > --- src/support/package.C.in        (revision 14695)
> > +++ src/support/package.C.in        (working copy)
> >  <at>  <at>  -44,6 +44,10  <at>  <at> 
> >  # include <CoreServices/CoreServices.h> // FSFindFolder, FSRefMakePath
> >  #endif
> >  
> > +#ifndef PATH_MAX
> > +# define PATH_MAX 512
> > +#endif
> > +
> >  using std::string;
> >  
> >  namespace fs = boost::filesystem;
> 
> Why not use MAX_PATH instead of PATH_MAX in the Windows part of this file?

I was just about to write the same thing ;-)

Any PATH_MAXs that have slipped into the Win32 code are there in error. At Rob 
Bearman's behest, I tried to remember to use MAX_PATH but I've obviously 
messed up in get_temp_dir(). Please correct in trunk and branch.

Angus

Reply via email to