From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: j kalbhenn Newsgroups: gmane.lisp.guile.devel Subject: feature request: realpath Date: Sat, 3 Jun 2017 17:20:15 +0000 Message-ID: <20170603172015.GA18219@sph-desktop.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1496510448 19600 195.159.176.226 (3 Jun 2017 17:20:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2017 17:20:48 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 03 19:20:41 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHCjB-0004gY-CJ for guile-devel@m.gmane.org; Sat, 03 Jun 2017 19:20:41 +0200 Original-Received: from localhost ([::1]:54361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHCjF-00042q-1X for guile-devel@m.gmane.org; Sat, 03 Jun 2017 13:20:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHCiz-00042K-GO for guile-devel@gnu.org; Sat, 03 Jun 2017 13:20:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHCiv-0007R0-HM for guile-devel@gnu.org; Sat, 03 Jun 2017 13:20:29 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:55020) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHCiv-0007PS-AL for guile-devel@gnu.org; Sat, 03 Jun 2017 13:20:25 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 27FF520449 for ; Sat, 3 Jun 2017 19:20:19 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3wg7BV6tLjz10Hf for ; Sat, 3 Jun 2017 19:20:16 +0200 (CEST) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.devel:19187 Archived-At: guile does not offer "realpath", which is part of the posix standard as far as i can tell. http://pubs.opengroup.org/onlinepubs/9699919799/ i think this would be useful to have and it does not seem trivial to re-implement in scheme. one of my use cases would be finding the first matching load path for a full path which might not contain any of the load paths exactly.