Genera's FS:DIRECTORY-LIST signals errors

Bug #1518044 reported by Gary Palter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ASDF
Fix Released
Low
Faré

Bug Description

ASDF uses FS:DIRECTORY-LIST on Genera to enumerate the contents of the source repositories. However, if the directory doesn't exist, FS:DIRECTORY-LIST signals an error. ASDF expects to get NIL in this case instead. Here's a diff of a fix.

--- asdf.lisp.~1~ 2015-11-17 16:44:45.001888220 -0500
+++ asdf.lisp 2015-11-19 14:10:42.703486584 -0500
@@ -3025,7 +3025,9 @@
                                        #+mcl '(:directories t))))
              #+(or abcl xcl) (system:list-directory directory)
              #+cormanlisp (cl::directory-subdirs directory)
- #+genera (fs:directory-list directory))
+ #+genera (handler-case
+ (fs:directory-list directory)
+ (fs:directory-not-found () nil)))
            #+(or abcl allegro cmu genera lispworks sbcl scl xcl)
            (dirs (loop :for x :in dirs
                        :for d = #+(or abcl xcl) (extensions:probe-directory x)

(This has been tested on Portable Genera (formerly Open Genera) running on CentOS 6.)

Faré (fahree)
Changed in asdf:
assignee: nobody → Faré (fahree)
importance: Undecided → Low
milestone: none → asdf3.2
status: New → Fix Committed
Changed in asdf:
milestone: asdf3.2 → 3.1.7
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.