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: Bootstrap failed during compile of process.c Date: Thu, 05 Jan 2006 11:02:45 -0500 Message-ID: References: <43BB7209.2090300@student.lu.se> <43BBDC50.20304@student.lu.se> <43BC1745.2020500@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136484661 26982 80.91.229.2 (5 Jan 2006 18:11:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2006 18:11:01 +0000 (UTC) Cc: Eli Zaretskii , storm@cua.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 05 19:10:58 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EuZZP-0002Hu-7Y for ged-emacs-devel@m.gmane.org; Thu, 05 Jan 2006 19:10:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuZb8-0007sg-VT for ged-emacs-devel@m.gmane.org; Thu, 05 Jan 2006 13:12:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EuXbk-0000ZE-QR for emacs-devel@gnu.org; Thu, 05 Jan 2006 11:04:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EuXbh-0000Vy-DP for emacs-devel@gnu.org; Thu, 05 Jan 2006 11:04:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuXbg-0000VS-K5 for emacs-devel@gnu.org; Thu, 05 Jan 2006 11:04:52 -0500 Original-Received: from [206.47.199.164] (helo=simmts6-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EuXdE-00013X-R2; Thu, 05 Jan 2006 11:06:29 -0500 Original-Received: from empanada.home ([67.71.26.159]) by simmts6-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060105160300.BBVZ25660.simmts6-srv.bellnexxia.net@empanada.home>; Thu, 5 Jan 2006 11:03:00 -0500 Original-Received: by empanada.home (Postfix, from userid 502) id 6A2146A4717; Thu, 5 Jan 2006 11:02:45 -0500 (EST) Original-To: Lennart Borgman In-Reply-To: <43BC1745.2020500@student.lu.se> (Lennart Borgman's message of "Wed, 04 Jan 2006 19:43:17 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) X-Originating-IP: [0] 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:48752 Archived-At: > (defvar server-socket-dir > (format "/tmp/emacs%d" (user-uid))) > Should not this use `temporary-file-directory'? emacsclient.c needs to use the exact same name without having to read&parse your .emacs. So yes it would be good, but no I don't think it can be done realistically. > Why does this happen? It would be very good if new code where cross > platform. (On the elisp level I guess that care must be taken for all > operations handling files. Is there anything else? Maybe networking?) The reason why I wrote it this way is because I don't know better. Hopefully file-modes returns the same kind of values on Unix and w32 so the above code may look Unixy but will work under w32 nonetheless. Stefan