From: Chris Hanson Date: Fri, 14 Mar 1997 05:12:55 +0000 (+0000) Subject: Backup filenames being returned for deletion are supposed to be fully X-Git-Tag: 20090517-FFI~5236 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=41a74fc3a3ab1a3913de08263f5f38715db681fd;p=mit-scheme.git Backup filenames being returned for deletion are supposed to be fully qualified; they were not. --- diff --git a/v7/src/edwin/dosfile.scm b/v7/src/edwin/dosfile.scm index fce1f4d91..35d845545 100644 --- a/v7/src/edwin/dosfile.scm +++ b/v7/src/edwin/dosfile.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: dosfile.scm,v 1.9 1997/03/04 06:43:04 cph Exp $ +;;; $Id: dosfile.scm,v 1.10 1997/03/14 05:12:55 cph Exp $ ;;; ;;; Copyright (c) 1994-97 Massachusetts Institute of Technology ;;; @@ -195,7 +195,10 @@ Includes the new backup. Must be > 0." (- (ref-variable kept-new-versions buffer) 1)))) (if (< start end) - (map car (sublist backups start end)) + (map (let ((dir (directory-pathname truename))) + (lambda (entry) + (merge-pathnames (car entry) dir))) + (sublist backups start end)) '())))))))))) (define (dos/make-backup-pathname pathname version suffix)