emacs-devel
[Top][All Lists]
Advanced

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

Re: New session management patch.


From: Andreas Schwab
Subject: Re: New session management patch.
Date: Wed, 27 Feb 2002 16:25:58 +0100
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

Eli Zaretskii <address@hidden> writes:

|> On Tue, 26 Feb 2002, Richard Stallman wrote:
|> 
|> >     +      if (proglen+len+1 <= MAXPATHLEN)
|> >     +        {
|> >     +          char maybe[MAXPATHLEN+1];
|> > 
|> > That is an arbitrary limit, so please remove it.  openp avoids having
|> > such a limit.
|> 
|> AFAIK, MAXPATHLEN is not an arbitrary limit, it's something specific to 
|> each platform.  It tells how long can a file name be on that system.

No, it's not a system limit as is, it can vary depending on file systems
and directories (at least PATH_MAX can, which is the POSIX equivalent;
MAXPATHLEN is actually pre-POSIX).

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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