[PATCH] pactl: Flush stdout buffer when printing subscribe events.

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

 



On Sun, 2013-05-05 at 15:22 +0400, Nikolay Amiantov wrote:
> "pactl subscribe" is running continuously, and without flushing its output is
> not usable for "process-on-arrival" per-line tasks, such as grepping. This
> patch should fix this. For example, now:
> pactl subscribe | grep 'server'
> should print only server events as they arrive.
> 
> This is my first ever patch to a public mailing list and I'm a novice, so please
> feel free to tell me if I did something the wrong way.

This comment could have been added below the three dashes that are below
the commit message, then it wouldn't have become part of the commit
message (I edited the comment out). Otherwise everything was fine, and I
have pushed it to the "next" branch. Thank you for the contribution!

> ---
>  src/utils/pactl.c | 1 +
>  1 file changed, 1 insertion(+)

-- 
Tanu

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux