From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Build failure on M$ (using MSVC): Patch enclosed Date: Thu, 22 May 2008 00:46:22 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211431615 13207 80.91.229.12 (22 May 2008 04:46:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2008 04:46:55 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 22 06:47:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jz2hz-00006V-EL for ged-emacs-devel@m.gmane.org; Thu, 22 May 2008 06:47:19 +0200 Original-Received: from localhost ([127.0.0.1]:55897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jz2hE-0007Il-Th for ged-emacs-devel@m.gmane.org; Thu, 22 May 2008 00:46:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jz2h9-0007IV-EK for emacs-devel@gnu.org; Thu, 22 May 2008 00:46:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jz2h8-0007Hn-HS for emacs-devel@gnu.org; Thu, 22 May 2008 00:46:27 -0400 Original-Received: from [199.232.76.173] (port=51077 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jz2h8-0007HU-BU for emacs-devel@gnu.org; Thu, 22 May 2008 00:46:26 -0400 Original-Received: from 206-248-174-248.dsl.teksavvy.com ([206.248.174.248]:36506 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jz2h5-0004Dp-9r; Thu, 22 May 2008 00:46:23 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7C44DB41CA; Thu, 22 May 2008 00:46:22 -0400 (EDT) In-Reply-To: (dhruva's message of "Thu, 22 May 2008 09:21:54 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:97501 Archived-At: > Well, I was not aware of that function. Looking a little deeper into > it, it does not traverse above the current user $HOME (~/ or %HOME%). > This code needs to go all the way till the top. Since it does a > username comparison, it apprears a bit more expensive (based on gut > feel though). Indeed, it doesn't go up past the home directory and it doesn't lookup past a directory with a different owner. It's all done on purpose to try and avoid pathological cases. I don't see that as a problem at all. Stefan