screwtape · @screwtape
372 followers · 5805 posts · Server mastodon.sdf.org

Hey, would I have anything to gain by doing this:
(with-open-file (io "file.ext" :direction :io)
(let* ((before (read-sequence (make-array (file-length io)) io)))
(file-position io :start)
(write-sequence *changed-sequence* io)
(unless (equal *changed-sequence* (read-sequence (make-array (file-length io)) io))
(error "write seems not to've happened"))))
;; the standard requires a lock on file writing already.

#commonlisp #programmingquestion #lisp #p

Last updated 1 year ago

screwtape · @screwtape
319 followers · 4757 posts · Server mastodon.sdf.org

@jackdaniel
When I run the superapp example at the start of the McCLIM User Guide which I have in a package named :eg I still have the #<cl-ttf-port> process running. Is this intended?

#mcclim #commonlisp #programmingquestion #ecl

Last updated 1 year ago