Skip to content

Modify the description of locate-system according to the current behaviour

Hugo Ishimaru requested to merge hishimaru/asdf:man-fix into master
  1. Now this function returns six values.
  2. It states that this function will not load the system definition though it seems to me that the loading occurs in some cases: e.g. the case involving primary system.

I mean the following behaviour:

;; ~/common-lisp/bar.asd
(defsystem "bar")
(defsystem "bar/test")
CL-USER> (asdf:locate-system :bar)  ;; the system definition won't be loaded
T
NIL
#P"C:/Users/hugo/common-lisp/bar.asd"
NIL
NIL
NIL
CL-USER> (asdf:locate-system :bar)
T
NIL
#P"C:/Users/hugo/common-lisp/bar.asd"
NIL
NIL
NIL
CL-USER> (asdf:locate-system :bar/test) ;; the system definition will be loaded
T
NIL
#P"C:/Users/hugo/common-lisp/bar.asd"
NIL
NIL
NIL
CL-USER> (asdf:locate-system :bar/test)
T
NIL
#P"C:/Users/hugo/common-lisp/bar.asd"
#<ASDF/SYSTEM:SYSTEM "bar/test">
3749197495
#<ASDF/SYSTEM:SYSTEM "bar">

I hope it's not my rudimentary misunderstanding.

Merge request reports