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
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
> 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.
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.
>
>
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---