summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-04-09 11:08:06 +0200
committerLudovic Courtès <ludo@gnu.org>2018-04-09 11:08:06 +0200
commit43be95c40a433d21f65c9e6bfb04ccc9fa8e2db4 (patch)
tree0372ea1e75324d32722de7a1ffe8246009665028 /bin
parent2f37403606d31b7b9bfe68c57665d41faaa1d100 (diff)
downloadcuirass-43be95c40a433d21f65c9e6bfb04ccc9fa8e2db4.tar
cuirass-43be95c40a433d21f65c9e6bfb04ccc9fa8e2db4.tar.gz
Use the 2.2 'setvbuf' API style.
* bin/cuirass.in (main): Use the 2.2 'setvbuf' API style. * examples/guix-track-git.scm (current-error-port): Likewise.
Diffstat (limited to 'bin')
-rw-r--r--bin/cuirass.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cuirass.in b/bin/cuirass.in
index d27167c..b7c9144 100644
--- a/bin/cuirass.in
+++ b/bin/cuirass.in
@@ -79,8 +79,8 @@ 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)
+ (setvbuf (current-output-port) 'line)
+ (setvbuf (current-error-port) 'line)
(let ((opts (getopt-long args %options)))
(parameterize