From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names. Date: Thu, 30 Jun 2011 16:11:18 +0200 Message-ID: <87pqlv9zp5.fsf@pobox.com> References: <1297784103-18322-1-git-send-email-janneke-list@xs4all.nl> <1297784103-18322-3-git-send-email-janneke-list@xs4all.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1309443602 13459 80.91.229.12 (30 Jun 2011 14:20:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2011 14:20:02 +0000 (UTC) Cc: guile-devel@gnu.org To: Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jun 30 16:19:58 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcI61-0004LN-LX for guile-devel@m.gmane.org; Thu, 30 Jun 2011 16:19:57 +0200 Original-Received: from localhost ([::1]:44739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcI60-0007PW-70 for guile-devel@m.gmane.org; Thu, 30 Jun 2011 10:19:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcHxn-0005Fq-0V for guile-devel@gnu.org; Thu, 30 Jun 2011 10:11:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcHxk-00075x-EG for guile-devel@gnu.org; Thu, 30 Jun 2011 10:11:26 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:56458 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcHxj-00075Z-VN; Thu, 30 Jun 2011 10:11:24 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id F39D048A8; Thu, 30 Jun 2011 10:13:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=69e8smY7Y0iOXOsW7F88EPyEPDA=; b=OqMa5j RZQ6iZb/cxpyf+GOugssEmO2Cr3nY0ZEidtZEO8EI+meVuculQnSsTtkW7qARjgu zNHGuDPLigWRVpu9VOKVvgJUAuPvObKDemXQjlKVLuycgl5vXiqo72qymh1GIZ1E 7GywHzrhMj4fOdN2jOL2wqFCMM36yPdpByBSQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=c6LNSDGFQFKtY7DaWuIGXFiFOwnEcq8U IVbihHb3RjaKwql6AGTkOdq60E/KlbQFBYoC3pSZixIXyu+25jhaDQx6zMWgyyIw iuhPV6Pr1giyThQsXX94TpS/HgvXjhyYYWnBt5gK94+N0PP8WncIwGpb56zPdbQ3 itgRMHPqnEs= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id EC47F48A7; Thu, 30 Jun 2011 10:13:37 -0400 (EDT) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 41E8E48A6; Thu, 30 Jun 2011 10:13:37 -0400 (EDT) In-Reply-To: (Jan Nieuwenhuizen's message of "Fri, 20 May 2011 15:47:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 25C82DA0-A323-11E0-B8C2-5875C023C68D-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12610 Archived-At: On Fri 20 May 2011 15:47, Jan Nieuwenhuizen writes: > Andy Wingo writes: > >> I don't much like this approach. Besides mixing in a heuristic on all >> machines that is win32-specific, it makes c:/foo.scm collide with >> d:/foo.scm in the cache, and fails to also modify load.c which also does >> autocompilation in other contexts. > > Yes, a newer version of this patch also includes load.c and boot-9.scm. > Of course the drive letter should be kept. I have applied a similar patch to Guile, before realizing you had a newer version. Sorry for the huge delay here. [I said:] >> Is anyone interested in implementing a path library? I don't think this would have helped very much in this case, given that taking an absolute path and turning it into a path suffix is not something that a path library is really good for. In reality all we need is a key that corresponds in a 1-to-1 relationship with a source file -- a SHA1 hash would have done as well. But oh well, c:/foo -> /c/foo it is! Andy -- http://wingolog.org/