Change random ACCESS statement to use now-exported name.
authorChris Hanson <org/chris-hanson/cph>
Sat, 15 Apr 1995 06:11:22 +0000 (06:11 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sat, 15 Apr 1995 06:11:22 +0000 (06:11 +0000)
v7/src/6001/floppy.scm

index 2e1c202cbdae17fa2941ccde2d8d746ddd479c13..0bae8e20f4ffea88442f4cfd4eeb0fb8f6779b1a 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: floppy.scm,v 1.16 1995/02/24 00:37:42 cph Exp $
+$Id: floppy.scm,v 1.17 1995/04/15 06:11:22 cph Exp $
 
 Copyright (c) 1992-95 Massachusetts Institute of Technology
 
@@ -713,9 +713,8 @@ M-x rename-file, or use the `r' command in Dired.")
                    (* 365 (- year 1970)))))))))
 
 (define (time-zone-offset)
-  (let ((decoded-time (get-decoded-time))
-       (file-time ((access get-time (->environment '(runtime date/time))))))
-    (- (* (quotient file-time 60) 60)
+  (let ((decoded-time (get-decoded-time)))
+    (- (* (quotient (get-universal-time) 60) 60)
        (make-dos-time (decoded-time/year decoded-time)
                      (decoded-time/month decoded-time)
                      (decoded-time/day decoded-time)