Re: MAX_PATH

1999-08-30 Thread Gabor Fleischer
On Sun, 29 Aug 1999, Mark B. Elrod wrote: > someone had brought up the question about the length of a path. does > anyone have a good way of figuring it out for a platform? > I don't know the right method, but as I think for example you can't say such a limit for "Linux". You might say it for ext

Re: MAX_PATH

1999-08-30 Thread ijr
Best way on a unix, is to use PATH_MAX if it's defined, else then check to see if pathconf("/", _PC_PATH_MAX); returns something and use that, and if that fails guess at a constant. I'd use 4096 just for fun... Isaac On 30-Aug-99 Tom Spindler wrote: >> someone had brought up the question abou

Re: MAX_PATH

1999-08-29 Thread Tom Spindler
> someone had brought up the question about the length of a path. does > anyone have a good way of figuring it out for a platform? I'd use some arbitrary number, like 256, because a) there seems to be few standard #defines for it, and b) filename length is filesystem dependent anyway.

Re: MAX_PATH

1999-08-29 Thread Mark B. Elrod
i can't imagine it is different than vc5, check out the dev webpage for explicit instructions. elrod Timothy Ball wrote: > Do you mean besides the POSIX #define of NAME_MAX or the BSD #define of > MAXNAMLEN? (in linux MAXNAMLEN is defined as NAME_MAX). Don't > know if this helps w/ winders. > >

Re: MAX_PATH

1999-08-29 Thread Timothy Ball
Do you mean besides the POSIX #define of NAME_MAX or the BSD #define of MAXNAMLEN? (in linux MAXNAMLEN is defined as NAME_MAX). Don't know if this helps w/ winders. On my build of freeamp on VC++ 6.0 I keep getting this error: Configuration: xing - Win32 NASM Debug---