;;;; 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
;;;;
(defvar *ftp-url*)
(defvar *base-name*)
(defvar *section-indent* 0)
-(declaim (type (fixnum *section-indent*)))
(defvar *signed* nil)
(defun list-files (files)
: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)))))))
(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