Don't do compensation kludge for 60-second granularity, it causes all
authorChris Hanson <org/chris-hanson/cph>
Thu, 10 Sep 1992 09:03:32 +0000 (09:03 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 10 Sep 1992 09:03:32 +0000 (09:03 +0000)
files to be written back to floppy every time.

v7/src/6001/floppy.scm

index 8a60f799077747fbc10b8ed7586fe1b70463a988..25ab4d068bc21aacf4a06ee0a361e9c4432f37b6 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: floppy.scm,v 1.2 1992/09/10 08:17:59 cph Exp $
+$Id: floppy.scm,v 1.3 1992/09/10 09:03:32 cph Exp $
 
 Copyright (c) 1992 Massachusetts Institute of Technology
 
@@ -407,10 +407,7 @@ then answer \"yes\" to the prompt below.")
                          floppy-directory))
       (lambda (files-to-copy pairs files-to-delete)
        (for-each (lambda (pair)
-                   ;; Compensate for one-minute time-stamp
-                   ;; granularity.  At worst, this will cause a few
-                   ;; files to be copied when it isn't necessary.
-                   (if (> (+ (file-record/time (car pair)) 60)
+                   (if (> (file-record/time (car pair))
                           (file-record/time (cdr pair)))
                        (set! files-to-copy
                              (cons (car pair) files-to-copy))))