[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 21:06:19 +0300

> From: Andreas Schwab <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden,
>       address@hidden
> Date: Sat, 30 Jul 2005 19:35:19 +0200
> You can easily create a deeply nested directory whose absolute file name
> is longer than MAXPATHLEN.  The MAXPATHLEN (a.k.a PATH_MAX) parameter only
> limits the length of the file name that can be passed to system calls, but
> has no connection to maximum length of an (absoulte) file name in a system
> (you can create virtually infinite long file names on Linux, for example).

But in this case, the file name we are talking about was _produced_ by
a function, i.e. by some system call.  I don't think such a file name
can exceed the syscall limits, can it?

reply via email to

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