new boot files

This commit is contained in:
Abdulaziz Ghuloum 2009-05-26 13:00:03 +03:00
parent 1d9a26cefd
commit a050e28633
4 changed files with 6 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -31,8 +31,11 @@
[(<= (fixnum-width) 32) ".ikarus-32bit-fasl"] [(<= (fixnum-width) 32) ".ikarus-32bit-fasl"]
[else ".ikarus-64bit-fasl"])) [else ".ikarus-64bit-fasl"]))
(define (fasl-path filename)
(string-append filename fasl-extension))
(define (load-serialized-library filename sk) (define (load-serialized-library filename sk)
(let ([ikfasl (string-append filename fasl-extension)]) (let ([ikfasl (fasl-path filename)])
(cond (cond
[(not (file-exists? ikfasl)) #f] [(not (file-exists? ikfasl)) #f]
[(< (file-mtime ikfasl) (file-mtime filename)) [(< (file-mtime ikfasl) (file-mtime filename))
@ -58,7 +61,7 @@
#f)))]))) #f)))])))
(define (do-serialize-library filename contents) (define (do-serialize-library filename contents)
(let ([ikfasl (string-append filename fasl-extension)]) (let ([ikfasl (fasl-path filename)])
(fprintf (current-error-port) "Serializing ~s ...\n" ikfasl) (fprintf (current-error-port) "Serializing ~s ...\n" ikfasl)
(let ([p (open-file-output-port ikfasl (file-options no-fail))]) (let ([p (open-file-output-port ikfasl (file-options no-fail))])
(fasl-write (make-serialized-library contents) p) (fasl-write (make-serialized-library contents) p)

View File

@ -1 +1 @@
1792 1793