r3054: *** empty log message ***
[lml.git] / downloads.lisp
index 226095eebfa7d3bf0ea21fe208f9f3534498f465..bc342c0bf87cf100bab58cc7d5c1cb7c0cd07719 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: downloads.lisp,v 1.1 2002/09/30 10:26:43 kevin Exp $
+;;;; $Id: downloads.lisp,v 1.5 2002/10/16 10:21:53 kevin Exp $
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -40,7 +40,7 @@
      :directory 
      (when (> (length bdir) (length fdir))
        (append '(:absolute) 
-              (subseq (length bdir) (length fdir) fdir))))))
+              (subseq fdir (length bdir) (length fdir)))))))
      
 (defun print-file (file)
   (let ((size 0)
     (let ((title (car sects))
          (value (cadr sects)))
       (if (consp title)
-         (mapcar #'display-sections sects)
-       (if (consp  value)
+         (map nil #'display-sections sects)
+       (if (consp value)
            (progn
              (print-sect-title title)
              (incf *section-indent*)
        (*base-name* pkg-base)
        (*signed* nil))
     (display-header pkg-name ftp-url)
-    (mapcar #'display-sections sects)
+    (map nil #'display-sections sects)
     (display-footer)))
 
 (defun std-dl-page (pkg-name pkg-base ftp-base ftp-url)
                                    :type :wild :name :wild)
                     base))
          (w32-path (merge-pathnames
-                    (make-pathname :directory '(:relative "w32")
+                    (make-pathname :directory '(:relative "win32")
                                    :type :wild :name :wild)
                     base)))
       (display-page pkg-name pkg-base ftp-base ftp-url