From: Tim Vaughan Date: Fri, 10 May 2019 21:23:58 +0000 (+0200) Subject: Modified buffering mode for output. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=7aa244c98e2482a1c3a7f8ca5ac96159a5fb7ff0;p=scratchy.git Modified buffering mode for output. Source of "empty log" problems. --- diff --git a/burrower.scm b/burrower.scm index fa8e166..e600f90 100644 --- a/burrower.scm +++ b/burrower.scm @@ -38,6 +38,7 @@ (define-record config root-dir host port display-footer) (define (run-server config) + (set-buffering-mode! (current-output-port) #:line) (print "Gopher server listening on port " (config-port config) " ...") (let ((listener (tcp-listen (config-port config)))) (let server-loop ()