fix more with-out-file keywords
svn: r7796
This commit is contained in:
parent
60b1a5c55d
commit
ff186ec025
|
@ -438,7 +438,7 @@
|
||||||
(unless (eof-object? s)
|
(unless (eof-object? s)
|
||||||
(display s)
|
(display s)
|
||||||
(loop (+ total (string-length s))))))))
|
(loop (+ total (string-length s))))))))
|
||||||
'binary 'truncate))
|
#:mode 'binary #:exists 'truncate))
|
||||||
(send d show #f)))])
|
(send d show #f)))])
|
||||||
(send d center)
|
(send d center)
|
||||||
(make-object button% (string-constant &stop)
|
(make-object button% (string-constant &stop)
|
||||||
|
|
|
@ -888,8 +888,8 @@
|
||||||
(list))
|
(list))
|
||||||
((dynamic-require ',init-code-mod-name 'init-code)))
|
((dynamic-require ',init-code-mod-name 'init-code)))
|
||||||
port))
|
port))
|
||||||
'truncate
|
#:exists 'truncate
|
||||||
'text)
|
#:mode 'text)
|
||||||
|
|
||||||
(let ([new-init-code
|
(let ([new-init-code
|
||||||
(list*
|
(list*
|
||||||
|
@ -899,7 +899,7 @@
|
||||||
(call-with-output-file init-code-tmp-filename
|
(call-with-output-file init-code-tmp-filename
|
||||||
(λ (port)
|
(λ (port)
|
||||||
(write new-init-code port))
|
(write new-init-code port))
|
||||||
'truncate 'text)))
|
#:exists 'truncate #:mode 'text)))
|
||||||
|
|
||||||
(let* ([pre-to-be-embedded-module-specs0
|
(let* ([pre-to-be-embedded-module-specs0
|
||||||
(if (or (not transformer-module-language-spec)
|
(if (or (not transformer-module-language-spec)
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
(call-with-output-file init-code-tmp-filename
|
(call-with-output-file init-code-tmp-filename
|
||||||
(λ (port)
|
(λ (port)
|
||||||
(write init-code port))
|
(write init-code port))
|
||||||
'truncate 'text)
|
#:exists 'truncate #:mode 'text)
|
||||||
|
|
||||||
(define init-code-proc (dynamic-require init-code-tmp-filename 'init-code))
|
(define init-code-proc (dynamic-require init-code-tmp-filename 'init-code))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user