[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getline & getline_safe

From: Paul Edwards
Subject: Re: getline & getline_safe
Date: Thu, 24 Jul 2003 21:47:02 GMT

"Derek Robert Price" <derek@ximbiot.com> wrote in message 
> Paul Edwards wrote:
> > I think it is usual for a program to have processing restrictions,
> >
> >although I would have made it based on a CVS-controlled define,
> >like CVS_STR_LIMIT, rather than PATH_MAX, which could
> >potentially be 8, while userid may be 30.
> >
> >
> I don't think you're going to find many PATH_MAX's under 256.  I think UNIX 
> and Windows both have PATH_MAXs of 4096?

Borland C++ 3.1 for DOS (100% ISO-conforming, forget
K&R) has no PATH_MAX (not required in ANSI C) and
has FILENAME_MAX of 80.

BFN.  Paul.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]