gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35714 - gnunet/contrib


From: gnunet
Subject: [GNUnet-SVN] r35714 - gnunet/contrib
Date: Thu, 7 May 2015 14:15:16 +0200

Author: tg
Date: 2015-05-07 14:15:16 +0200 (Thu, 07 May 2015)
New Revision: 35714

Modified:
   gnunet/contrib/gnunet-logread
   gnunet/contrib/gnunet-logread-ipc-sdedit
Log:
logread: no buffering

Modified: gnunet/contrib/gnunet-logread
===================================================================
--- gnunet/contrib/gnunet-logread       2015-05-07 12:15:07 UTC (rev 35713)
+++ gnunet/contrib/gnunet-logread       2015-05-07 12:15:16 UTC (rev 35714)
@@ -70,7 +70,7 @@
             my $msg = exists $msgtypes{$type} ? $msgtypes{$type} : $type;
             my $ofh = select IPC;
             print IPC "$time\t$from -> $to\t$msg ($size)\n";
-            $|++;
+            $| = 1;
             select $ofh;
         }
         if (($time, $level, $msg) =

Modified: gnunet/contrib/gnunet-logread-ipc-sdedit
===================================================================
--- gnunet/contrib/gnunet-logread-ipc-sdedit    2015-05-07 12:15:07 UTC (rev 
35713)
+++ gnunet/contrib/gnunet-logread-ipc-sdedit    2015-05-07 12:15:16 UTC (rev 
35714)
@@ -36,6 +36,7 @@
 
 mkfifo $ipc, 0600 or die "$ipc: $!\n" unless -e $ipc;
 open IPC, '<', $ipc or die "$ipc: $!\n";
+$| = 1;
 while (<IPC>)
 {
     print;




reply via email to

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