From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: init_buffer PWD fix Date: Sun, 21 Apr 2002 23:18:38 -0700 (PDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200204220618.g3M6Icg23696@sic.twinsun.com> References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019456483 18774 127.0.0.1 (22 Apr 2002 06:21:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 06:21:23 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zXCV-0004sh-00 for ; Mon, 22 Apr 2002 08:21:23 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zXD5-00047S-00 for ; Mon, 22 Apr 2002 08:21:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zXCK-0004Dg-00; Mon, 22 Apr 2002 02:21:12 -0400 Original-Received: from alcor.twinsun.com ([198.147.65.9]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zX9r-000499-00 for ; Mon, 22 Apr 2002 02:18:39 -0400 Original-Received: from sic.twinsun.com ([192.54.239.17]) by alcor.twinsun.com (8.12.1/8.12.1) with ESMTP id g3M6Icop014675; Sun, 21 Apr 2002 23:18:38 -0700 (PDT) Original-Received: (eggert@localhost) by sic.twinsun.com (8.11.6+Sun/8.11.6) id g3M6Icg23696; Sun, 21 Apr 2002 23:18:38 -0700 (PDT) Original-To: knagano@sodan.org In-Reply-To: (knagano@sodan.org) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2980 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2980 > From: Keiichiro Nagano (=?ISO-2022-JP?B?GyRCMUpMbjc9MGxPOhsoQg==?=) > Date: Mon, 22 Apr 2002 05:15:17 +0900 > > init_buffer uses environmental variable PWD to identify current > working directory. I think we should not use it on Windows. On > Windows with Cygwin, PWD is unreliable and confusing PWD is unreliable on all platforms, but Emacs works around the problem with a similar method on all platforms by statting $PWD and ".", and using $PWD only if stat results agree. What is the problem with this workaround on Windows?