Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Moringen
asdf
Commits
c3f01caa
Commit
c3f01caa
authored
15 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
1.622: a fix for component-relative-pathname to somehow work with logical pathname hosts.
(Thanks to janderson for the bug report and patch.)
parent
e1732766
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
asdf.lisp
+10
-5
10 additions, 5 deletions
asdf.lisp
with
10 additions
and
5 deletions
asdf.lisp
+
10
−
5
View file @
c3f01caa
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
;; This parameter isn't actually user-visible
;; This parameter isn't actually user-visible
;; -- please use the exported function ASDF:ASDF-VERSION below.
;; -- please use the exported function ASDF:ASDF-VERSION below.
;; the 1+ hair is to ensure that we don't do an inadvertent find and replace
;; the 1+ hair is to ensure that we don't do an inadvertent find and replace
(
subseq
"VERSION:1.62
0
"
(
1+
(
length
"VERSION"
))))
(
subseq
"VERSION:1.62
2
"
(
1+
(
length
"VERSION"
))))
(
defun
asdf-version
()
(
defun
asdf-version
()
"Exported interface to the version of ASDF currently installed. A string.
"Exported interface to the version of ASDF currently installed. A string.
...
@@ -1028,10 +1028,15 @@ to `~a` which is not a directory.~@:>"
...
@@ -1028,10 +1028,15 @@ to `~a` which is not a directory.~@:>"
filename
))))
filename
))))
(
defmethod
component-relative-pathname
((
component
source-file
))
(
defmethod
component-relative-pathname
((
component
source-file
))
(
merge-component-relative-pathname
;; This binding of *default-pathname-defaults* is required notably because
(
slot-value
component
'relative-pathname
)
;; it will provide the default host to the above make-pathname, which may
(
component-name
component
)
;; crucially matter to e.g. people somehow using logical-pathnames.
(
source-file-type
component
(
component-system
component
))))
(
let
((
*default-pathname-defaults*
(
component-pathname
(
component-parent
component
))))
(
merge-component-relative-pathname
(
slot-value
component
'relative-pathname
)
(
component-name
component
)
(
source-file-type
component
(
component-system
component
)))))
;;;; -------------------------------------------------------------------------
;;;; -------------------------------------------------------------------------
;;;; Operations
;;;; Operations
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment