gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet-nim] branch master updated: comment: explain why we


From: gnunet
Subject: [GNUnet-SVN] [gnunet-nim] branch master updated: comment: explain why we're reading from stdin in a nasty way
Date: Mon, 06 Aug 2018 23:25:56 +0200

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

dvn pushed a commit to branch master
in repository gnunet-nim.

The following commit(s) were added to refs/heads/master by this push:
     new 691133f  comment: explain why we're reading from stdin in a nasty way
691133f is described below

commit 691133f336ee0094679ab8765863ed280f8e372b
Author: dvn <address@hidden>
AuthorDate: Mon Aug 6 23:25:36 2018 +0200

    comment: explain why we're reading from stdin in a nasty way
---
 gnunet_nim.nim | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnunet_nim.nim b/gnunet_nim.nim
index 70feb28..6b864f1 100644
--- a/gnunet_nim.nim
+++ b/gnunet_nim.nim
@@ -39,6 +39,8 @@ proc firstTask(gnunetApp: ref GnunetApplication,
       asyncCheck outputFile.write(message)
     outputFile.close()
   else:
+    # We're forced to read from stdin like this because it appears
+    # as though the async library cannot do this natively...
     let stdinFile = openAsync("/dev/stdin", fmRead)
     var messagesFuture = cadetChannel.messages.read()
     var stdinFuture = stdinFile.readline()

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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