[Top][All Lists]

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

Re: emacs & MAXPATHLEN

From: Eli Zaretskii
Subject: Re: emacs & MAXPATHLEN
Date: Sat, 30 Jul 2005 17:28:23 +0300

> From: "Alfred M\. Szmidt" <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Date: Sat, 30 Jul 2005 13:53:20 +0200
>    I also wonder whether we should keep the "#ifdef MAXPATHLEN"
>    branch, or just use the loop below on all platforms that have
>    getcwd.
> If MAXPATHLEN is defined, it should be respected, if you try to use a
> file name that is longer than MAXPATHLEN then the behaviour of the
> system is undefined.

??? How can a file name on a system be ever longer than MAXPATHLEN,
which is a system-dependent limit?  Presumably, the value of
MAXPATHLEN is set to fit the longest possible file name on the
underlying file system.

reply via email to

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