Commit c4648127 authored by Eric Timmons's avatar Eric Timmons
Browse files

Fix tests on ABCL

parent ee5d970b
Loading
Loading
Loading
Loading
Loading
+3 −3
Changes for src/common-extract/pathname-computation.lisp: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -43,10 +43,10 @@
                          (list :relative)
                          (pathname-directory pn)))
           (num-components (+ (length (rest directory))
                              (if (equal "" (file-namestring pn))
                              (if (or (null (file-namestring pn))
                                      (equal "" (file-namestring pn)))
                                  0
                                  1)))
           )
                                  1))))
      (when (> num-components strip-components)
        (pathname-coalesce-backs
         (make-pathname :directory (list* (first directory)
+2 −2
Changes for src/simple-extract/extract.lisp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ the CONTINUE restart active."

(defgeneric simple-extract-entry (entry pn &key))

(defmethod simple-extract-entry :before ((entry tar:entry) pn &key)
(defmethod simple-extract-entry :before ((entry tar:entry) pn &key &allow-other-keys)
  (ensure-directories-exist (merge-pathnames pn)))

(defmethod simple-extract-entry :around ((entry tar:symbolic-link-entry) pn &key &allow-other-keys)
@@ -257,7 +257,7 @@ the CONTINUE restart active."
(defmethod simple-extract-entry :before ((entry tar:character-device-entry) pn &key &allow-other-keys)
  (error 'extract-character-device-entry-error :entry entry))

(defmethod simple-extract-entry ((entry tar:entry) pn &key)
(defmethod simple-extract-entry ((entry tar:entry) pn &key &allow-other-keys)
  (declare (ignore pn))
  t)