Ticket #48 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

Please make avahi-browse fflush so that it can be easily pipable.

Reported by: xaiki Owned by: lennart
Milestone: Avahi 0.6.12 Component: avahi-utils
Keywords: Cc:

Description

avahi-browse doesn't use fflush() so passing it through a pipe as:

$ avahi-browse -a | grep Workstation

will wait untill printf()'s buffer is full. witch can be annoying.

Attachments

fflush.patch Download (0.7 KB) - added by xaiki 7 years ago.
patch

Change History

Changed 7 years ago by xaiki

patch

Changed 7 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed

(In [1232]) flush stdout after every line, this makes avahi-browse more useful in shell scripts where pipes are involved (closes #48)

Changed 7 years ago by lennart

  • milestone set to Avahi 0.6.12
Note: See TracTickets for help on using tickets.