guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: profiles: Avoid _IO* in profile builder.


From: Ludovic Courtès
Subject: 04/05: profiles: Avoid _IO* in profile builder.
Date: Sun, 3 Dec 2017 14:23:27 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 2f60084f77815f454d1521396c2a383390ea2865
Author: Ludovic Courtès <address@hidden>
Date:   Sun Dec 3 17:32:50 2017 +0100

    profiles: Avoid _IO* in profile builder.
    
    * guix/profiles.scm (profile-derivation)[builder]: Avoid the deprecated
    _IO* constants.
---
 guix/profiles.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/profiles.scm b/guix/profiles.scm
index 5ef84e8..011bc54 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -1268,8 +1268,8 @@ are cross-built for TARGET."
                          (guix search-paths)
                          (srfi srfi-1))
 
-            (setvbuf (current-output-port) _IOLBF)
-            (setvbuf (current-error-port) _IOLBF)
+            (setvbuf (current-output-port) 'line)
+            (setvbuf (current-error-port) 'line)
 
             #+(if locales? set-utf8-locale #t)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]