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: Mon, 22 Apr 2002 14:19:10 +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 1019470897 4958 127.0.0.1 (22 Apr 2002 10:21:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 10:21:37 +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 16zawz-0001Hr-00 for ; Mon, 22 Apr 2002 12:21:37 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zaxe-00013k-00 for ; Mon, 22 Apr 2002 12:22:18 +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 16zawm-0007fr-00; Mon, 22 Apr 2002 06:21:24 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zaw1-0007ZY-00 for ; Mon, 22 Apr 2002 06:20:37 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id OAA14780; Mon, 22 Apr 2002 14:19:11 +0300 (IDT) X-Sender: eliz@is Original-To: Keiichiro Nagano 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:3018 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3018 On Mon, 22 Apr 2002, Keiichiro Nagano wrote: > 3. type nmake. After you have done temacs.exe and emacs.exe, You > will get an error like this: > > "C:\home\tmp\emacs-21.2\leim/../src/obj-spd/i386/emacs.exe" -batch --no-init-file --no-site-file --multibyte -l C:/home/tmp/emacs-21.2/leim/../lisp/international/titdic-cnv --eval "(batch-titdic-convert t)" -dir quail ./CXTERM-DIC > > Warning: arch-dependent data dir (c:/emacs/bin/) does not exist. > Warning: arch-independent data dir (c:/emacs/etc/) does not exist. > Converting c:/home/tmp/emacs-21.2/nt/CXTERM-DIC to quail-package... > Opening input file: no such file or directory, c:/home/tmp/emacs-21.2/nt/CXTERM-DIC > NMAKE : fatal error U1077: '"C:\home\tmp\emacs-21.2\leim/../src/obj-spd/i386/emacs.exe"' : return code '0xffffffff' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.exe"' : return code '0x2' > Stop. > > Why c:/home/tmp/emacs-21.2/nt/CXTERM-DIC? CXTERM-DIC is at > c:/home/tmp/emacs-21.2/leim. Because chdir ../leim is done in > makefile, and Emacs uses wrong PWD c:/home/tmp/emacs-21.2/nt to open > ./CXTERM-DIC. With the patch I post, this error will never happen. Thanks. I think the proper fix for this is to make the test init_buffer does more reliable on Windows. But I'll let Jason and Andrew decide what's the best course of action here.