X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=downloads.lisp;h=affe2c63a4ca1c54cb8d563eab0083130904c675;hb=cc8e2c2612822e5bf40c68f04e492ac0597b362a;hp=9fc9ac8292026ead8406946790c3ff9b6db14ada;hpb=3dd20782b30be51ea311ec67cbd75ada7e956a0e;p=lml.git diff --git a/downloads.lisp b/downloads.lisp index 9fc9ac8..affe2c6 100644 --- a/downloads.lisp +++ b/downloads.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: downloads.lisp,v 1.2 2002/10/14 03:25:05 kevin Exp $ +;;;; $Id: downloads.lisp,v 1.6 2002/10/31 18:52:23 kevin Exp $ ;;;; ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -24,7 +24,6 @@ (defvar *ftp-url*) (defvar *base-name*) (defvar *section-indent* 0) -(declaim (type (fixnum *section-indent*))) (defvar *signed* nil) (defun list-files (files) @@ -39,7 +38,7 @@ :name (pathname-name file) :type (pathname-type file) :directory - (when (> (length bdir) (length fdir)) + (when (> (length fdir) (length bdir)) (append '(:absolute) (subseq fdir (length bdir) (length fdir))))))) @@ -113,8 +112,8 @@ (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*) @@ -129,7 +128,7 @@ (*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) @@ -157,7 +156,7 @@ :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