From 2494afe313234b63b4e57b86bc91c7b1b4bbb111 Mon Sep 17 00:00:00 2001
From: Kevin Rosenberg <>
Date: Tue, 17 Sep 2002 19:52:29 +0000
Subject: [PATCH] Add resolve-symlinks to get "truename" of a system

---
 asdf.lisp        | 15 ++++++++++++---
 debian/changelog |  6 ++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/asdf.lisp b/asdf.lisp
index 30cf0285..65ab17b8 100644
--- a/asdf.lisp
+++ b/asdf.lisp
@@ -1,4 +1,4 @@
-;;; This is asdf: Another System Definition Facility.  $Revision: 1.43 $
+;;; This is asdf: Another System Definition Facility.  $Revision: 1.44 $
 ;;;
 ;;; Feedback, bug reports, and patches are all welcome: please mail to
 ;;; <cclan-list@lists.sf.net>.  But note first that the canonical
@@ -88,7 +88,7 @@
 (in-package #:asdf)
 
 ;;; parse the cvs revision into something that might be vaguely useful.  
-(defvar *asdf-revision* (let* ((v "$Revision: 1.43 $")
+(defvar *asdf-revision* (let* ((v "$Revision: 1.44 $")
 			       (colon (position #\: v))
 			       (dot (position #\. v)))
 			  (and v colon dot 
@@ -735,7 +735,8 @@ system."))
 				   :module (coerce-name ',name)
 				   :pathname
 				   (or ,pathname
-				       (pathname-sans-name+type *load-truename*)
+				       (pathname-sans-name+type
+					(resolve-symlinks *load-truename*))
 				       *default-pathname-defaults*)
 				   ',component-options))))))
   
@@ -837,6 +838,14 @@ Returns the new tree (which probably shares structure with the old one)"
 	      ret)))
 
 
+#-(or allegro)
+(defun resolve-symlinks (path)
+  (truename path))
+
+#+allegro
+(defun resolve-symlinks (path)
+  (excl:pathname-resolve-symbolic-links path))
+
 ;;; optional extras
 
 ;;; run-shell-command functions for other lisp implementations will be
diff --git a/debian/changelog b/debian/changelog
index 29a45232..9349b305 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cl-asdf (1.44-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Tue, 17 Sep 2002 12:24:27 -0600
+
 cl-asdf (1.43-1) unstable; urgency=low
 
   * New upstream version
-- 
GitLab