bug-cvs
[Top][All Lists]
Advanced

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

Re: getline & getline_safe


From: Derek Robert Price
Subject: Re: getline & getline_safe
Date: Thu, 24 Jul 2003 11:08:34 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Paul Edwards wrote:

"Derek Robert Price" <derek@ximbiot.com> wrote in message 
news:mailman.447.1059051115.8231.bug-cvs@gnu.org...
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?

CVS runs under DOS too.  MVS is/was restricted to 44/52.


What is 44/52?  Why the slash?

In any case, specifying the CVSROOT is part of the authentication phase and 
needs to be limited by PATH_MAX.  Since that is the largest potential string 
passed during authentication, I think the use of PATH_MAX simply cascaded as 
sufficient.
I agree that CVSROOT should be PATH_MAX, or actually, I
think it should be FILENAME_MAX,


PATH_MAX is defined to be the maximum length of any path, including the filename, I believe, though please point me to the correct reference if I am wrong.

but the other strings are
not logically related to filenames and thus should be separately
defined.  Maybe I wouldn't be so anal to create a USERID_MAX,
WHATEVER_MAX, but I would separate filenames that aren't
actually stored in the ",v" file to strings that are.  I see those as
very different things.


What are you talking about here?  What filenames stored in ,v files?

Derek

--
               *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
--
G:  "If we do happen to step on a mine, Sir, what do we do?"
EB: "Normal procedure, Lieutenant, is to jump 200 feet in the air and scatter oneself over a wide area."
                        -- Somewhere in No Man's Land, BA4






reply via email to

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