From eee9ff5b9dc97f0b31c5bc951486b63cc7e6e298 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 16 Sep 2002 03:35:27 +0000 Subject: [PATCH 1/1] r2679: Auto commit for Debian build --- downloads.cl | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/downloads.cl b/downloads.cl index e41ebd5..2fdfe8a 100644 --- a/downloads.cl +++ b/downloads.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: downloads.cl,v 1.5 2002/09/16 03:25:08 kevin Exp $ +;;;; $Id: downloads.cl,v 1.6 2002/09/16 03:35:27 kevin Exp $ ;;;; ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -50,15 +50,16 @@ :type (pathname-type file)))) (ftp-name (strip-ftp-base file)) (sig-path (concatenate 'string (namestring file) ".asc"))) - (with-open-file (strm file :direction :input) - (setq size (round (/ (file-length strm) 1024)))) - (lml-print "~A" *ftp-url* ftp-name basename) - (lml-print "") - (lml-print " (~A, ~:D KB)" modtime size) - (when (probe-file sig-path) - (setq *signed* t) - (lml-print " [Signature]" *ftp-url* ftp-name)) - (br))) + (when basename + (with-open-file (strm file :direction :input) + (setq size (round (/ (file-length strm) 1024)))) + (lml-print "~A" *ftp-url* ftp-name basename) + (lml-print "") + (lml-print " (~A, ~:D KB)" modtime size) + (when (probe-file sig-path) + (setq *signed* t) + (lml-print " [Signature]" *ftp-url* ftp-name)) + (br)))) (defun display-header (name url) (lml-print "

Download

") -- 2.34.1