#| -*-Scheme-*-
-$Id: dosprm.scm,v 1.28 1995/04/23 05:18:58 cph Exp $
+$Id: dosprm.scm,v 1.29 1995/04/23 05:24:13 cph Exp $
Copyright (c) 1992-95 Massachusetts Institute of Technology
(define file-time->string
(ucode-primitive file-time->string 1))
-(define (decode-file-time time)
- (decode-universal-time time))
-
-(define (encode-file-time dt)
- (encode-universal-time dt))
+(define (decode-file-time time) (decode-universal-time time))
+(define (encode-file-time dt) (encode-universal-time dt))
+(define (file-time->universal-time time) time)
+(define (universal-time->file-time time) time)
(define dos/user-home-directory user-home-directory)
(define dos/current-user-name current-user-name)
#| -*-Scheme-*-
-$Id: os2prm.scm,v 1.15 1995/04/23 05:10:07 cph Exp $
+$Id: os2prm.scm,v 1.16 1995/04/23 05:24:01 cph Exp $
Copyright (c) 1994-95 Massachusetts Institute of Technology
64 (decoded-time/minute dt))
32 (quotient (decoded-time/second dt) 2))))
+(define (file-time->universal-time time)
+ (encode-universal-time (decode-file-time time)))
+
+(define (universal-time->file-time time)
+ (encode-file-time (decode-universal-time time)))
+
(define (file-attributes filename)
((ucode-primitive file-info 1)
(->namestring (merge-pathnames filename))))
#| -*-Scheme-*-
-$Id: unxprm.scm,v 1.37 1995/04/23 05:19:06 cph Exp $
+$Id: unxprm.scm,v 1.38 1995/04/23 05:24:18 cph Exp $
Copyright (c) 1988-95 Massachusetts Institute of Technology
(define-integrable file-time->string
(ucode-primitive file-time->string 1))
-(define (decode-file-time time)
- (decode-universal-time time))
-
-(define (encode-file-time dt)
- (encode-universal-time dt))
+(define (decode-file-time time) (decode-universal-time time))
+(define (encode-file-time dt) (encode-universal-time dt))
+(define (file-time->universal-time time) time)
+(define (universal-time->file-time time) time)
(define unix/user-home-directory user-home-directory)
(define unix/current-home-directory current-home-directory)