Package: bwbar
Version: 1.2.2-3
Severity: normal
Tags: patch
AFAICS the options on the subject line are not handled.
These options were added with the patch 030_newunits.diff, but missing
from the getopt_long call. Patch attached.
I also have another patch which allows optional use of the graphical bar
stuff (ubar.png). I can provide that too, if there's any interest.
Cheers,
Cristian
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Versions of packages bwbar depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information
--- /home/cii/DEBIAN/WORK/bwbar-1.2.2-3/bwbar-1.2.2/bwbar.c 2005-06-10
17:26:46.000000000 +0200
+++ bwbar.c 2005-06-12 17:10:53.410294548 +0200
@@ -224,7 +224,7 @@ int main(int argc, char *argv[])
program = argv[0];
- while ( (opt = getopt_long(argc, argv, "iof:p:t:x:y:b:kMGhd:", longopts,
NULL)) != -1 ) {
+ while ( (opt = getopt_long(argc, argv, "iof:p:t:x:y:b:kMGhd:Kmg", longopts,
NULL)) != -1 ) {
switch ( opt ) {
case 'i':
measure_input = 1;