Bug#494080: /usr/bin/azap: improper buffering on status messages

Mark Whitis whitis at freelabs.com
Thu Aug 7 05:11:14 UTC 2008


Package: dvb-apps
Version: 1.1.1+rev1207-1
Severity: normal
File: /usr/bin/azap

Azap incorrectly does block level rather than line level buffering on
its output messaging.   This only happens when output is redirected.
Looks like you forgot to call setbuf() and the stdio library is
automatically selecting between line  level and block level buffering
depending on whether output is redirected.   

azap WHTJ-HD | sed -u -e "s/.*signal \([0-9A-Za-z][0-9A-Za-z]\).*/\1/" |
festival --tts

azap WHTJ-HD | dd bs=1

azap WHTJ-HD | tee signal.log





-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dvb-apps depends on:
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  makedev                       2.3.1-84   creates device files in /dev
ii  udev                          0.114-2    /dev/ and hotplug management daemo

dvb-apps recommends no packages.

-- no debconf information





More information about the pkg-vdr-dvb-devel mailing list