The Lambda Lab
/
projects
/
scratchy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d22cda7
)
Modified buffering mode for output.
author
Tim Vaughan
<tgvaughan@gmail.com>
Fri, 10 May 2019 21:23:58 +0000
(23:23 +0200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Fri, 10 May 2019 21:23:58 +0000
(23:23 +0200)
Source of "empty log" problems.
burrower.scm
patch
|
blob
|
history
diff --git
a/burrower.scm
b/burrower.scm
index
fa8e166
..
e600f90
100644
(file)
--- 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 ()