Skip to content
Snippets Groups Projects
Commit c57fe362 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

cuirass: Line-buffer stdout and stderr.

* bin/cuirass.in (main): Add 'setvbuf' calls.
parent 99d88929
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,11 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
;;;
(define* (main #:optional (args (command-line)))
;; Always have stdout/stderr line-buffered.
(setvbuf (current-output-port) _IOLBF)
(setvbuf (current-error-port) _IOLBF)
(let ((opts (getopt-long args %options)))
(parameterize
((%program-name (car args))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment