From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: emacs & MAXPATHLEN Date: Sat, 30 Jul 2005 19:35:19 +0200 Message-ID: References: <87fytzj6a7.fsf@gmail.com> <87pst2h35e.fsf@gmail.com> <87r7dhxenv.fsf@gmail.com> <1122724400.456845.1155.nullmailer@Update.UU.SE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1122746568 4085 80.91.229.2 (30 Jul 2005 18:02:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Jul 2005 18:02:48 +0000 (UTC) Cc: ams@gnu.org, gscrivano@gmail.com, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 30 20:02:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DyvfA-0007Gq-W5 for ged-emacs-devel@m.gmane.org; Sat, 30 Jul 2005 20:02:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dyvhj-0001H6-Bc for ged-emacs-devel@m.gmane.org; Sat, 30 Jul 2005 14:04:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DyvgQ-00011f-FT for emacs-devel@gnu.org; Sat, 30 Jul 2005 14:03:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DyvgP-00011T-Hb for emacs-devel@gnu.org; Sat, 30 Jul 2005 14:03:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DyvgN-0000od-P9 for emacs-devel@gnu.org; Sat, 30 Jul 2005 14:03:35 -0400 Original-Received: from [195.135.220.15] (helo=mx2.suse.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DyvQp-0005nv-L1; Sat, 30 Jul 2005 13:47:32 -0400 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 73D951D9AA; Sat, 30 Jul 2005 19:35:20 +0200 (CEST) Original-To: Eli Zaretskii X-Yow: I'm an East Side TYPE.. In-Reply-To: (Eli Zaretskii's message of "Sat, 30 Jul 2005 17:28:23 +0300") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41353 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41353 Eli Zaretskii writes: > ??? How can a file name on a system be ever longer than MAXPATHLEN, > which is a system-dependent limit? You can easily create a deeply nested directory whose absolute file name is longer than MAXPATHLEN. The MAXPATHLEN (a.k.a PATH_MAX) parameter onl= y limits the length of the file name that can be passed to system calls, bu= t has no connection to maximum length of an (absoulte) file name in a syste= m (you can create virtually infinite long file names on Linux, for example)= . Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."