guix-commits
[Top][All Lists]
Advanced

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

branch master updated: installer: connman: Fix Wifi connection.


From: guix-commits
Subject: branch master updated: installer: connman: Fix Wifi connection.
Date: Sun, 19 Apr 2020 05:46:39 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new ea6594e  installer: connman: Fix Wifi connection.
ea6594e is described below

commit ea6594e08e2724c64bc07724a07479fc1633dede
Author: Mathieu Othacehe <address@hidden>
AuthorDate: Sun Apr 19 11:41:40 2020 +0200

    installer: connman: Fix Wifi connection.
    
    Issue reported by SergioBG here:
    https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00432.html.
    
    Due to default buffering mode, the installer was reading from the pipe 
without
    having actually written a command before.
    
    * gnu/installer/connman.scm (connman-connect-with-auth): Set pipe buffering
    mode to 'line.
---
 gnu/installer/connman.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/installer/connman.scm b/gnu/installer/connman.scm
index 7f47b9a..386f431 100644
--- a/gnu/installer/connman.scm
+++ b/gnu/installer/connman.scm
@@ -393,6 +393,7 @@ interactive connmanctl process."
     (dynamic-wind
       (const #t)
       (lambda ()
+        (setvbuf pipe 'line)
         (run-connection-sequence pipe)
         #t)
       (lambda ()



reply via email to

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