From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: init_buffer PWD fix Date: Tue, 23 Apr 2002 08:56:41 +0300 (IDT) Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1019538101 24694 127.0.0.1 (23 Apr 2002 05:01:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 23 Apr 2002 05:01:41 +0000 (UTC) Cc: Paul Eggert , knagano@sodan.org, emacs-devel@gnu.org, Andrew Innes Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zsQv-0006QB-00 for ; Tue, 23 Apr 2002 07:01:41 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zsRx-0001Di-00 for ; Tue, 23 Apr 2002 07:02:45 +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 16zsQZ-00078p-00; Tue, 23 Apr 2002 01:01:19 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zsNN-0006mQ-00; Tue, 23 Apr 2002 00:58:01 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id IAA23074; Tue, 23 Apr 2002 08:56:41 +0300 (IDT) X-Sender: eliz@is Original-To: Jason Rumney In-Reply-To: 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:3071 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3071 On 22 Apr 2002, Jason Rumney wrote: > But there is also a reimplementation of stat() in > w32.c, which is not disabled. I think that is what we really want, > isn't it? Yes. But our implementation of `stat' always returns zero for inodes of directories (because the inodes it computes need a value available via GetFileInformationByHandle, and Windows won't let you open a directory). So this implementation doesn't help for directories, which is the cause of the OP's problem. So I think in the case of directories, some simulation of inodes is necessary.