original commit: 4682e54f83e879ee536d410ce1a147083d15d233
This commit is contained in:
Matthew Flatt 2001-12-28 16:19:56 +00:00
parent 3ada00788f
commit ffa48b2215
2 changed files with 32 additions and 32 deletions

View File

@ -327,7 +327,7 @@
(format "the size of the name list (~a) does not match the size of the value list (~a): " (format "the size of the name list (~a) does not match the size of the value list (~a): "
(length names) (length vals)) (length names) (length vals))
vals)) vals))
(let ([lock-file (build-path (find-system-path 'pref-dir) "PREFLOCK")]) (let ([lock-file (build-path (find-system-path 'pref-dir) ".plt-PREFLOCK")])
(with-handlers ([(lambda (x) (with-handlers ([(lambda (x)
(and (exn:i/o:filesystem? x) (and (exn:i/o:filesystem? x)
(eq? (exn:i/o:filesystem-detail x) 'already-exists))) (eq? (exn:i/o:filesystem-detail x) 'already-exists)))

View File

@ -150,7 +150,7 @@
(parameterize ([current-custodian c]) (parameterize ([current-custodian c])
;; disable breaks during session set-up... ;; disable breaks during session set-up...
(parameterize ([break-enabled #f]) (parameterize ([break-enabled #f])
;; ... but enabled breaks while blocked on an accept: ;; ... but enable breaks while blocked on an accept:
(let-values ([(r w) ((if can-break? (let-values ([(r w) ((if can-break?
tcp-accept/enable-break tcp-accept/enable-break
tcp-accept) tcp-accept)