Package: defoma
Version: 0.11.8-0.1
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A bug in the dialogues interface system causes it to only return
the first line of stdout from the dialogue/whiptail program. This
shows up in defoma-hint type1 as only the first shape attribute
being output in the generated hints.
Attached is a patch to fix this.
- -- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)
Versions of packages defoma depends on:
ii dialog 1.0-20051207-1 Displays user-friendly dialog boxe
ii file 4.15-2 Determines file type using "magic"
ii perl 5.8.8-3 Larry Wall's Practical Extraction
Versions of packages defoma recommends:
ii libft-perl 1.2-15 Perl module for the FreeType libra
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEcw8Gp7ZNUfdma/8RAj56AJ9hu5Dejh9aCuprj3QI5pRAASqzUACfT9pq
Ar5+E1iDX3VmRE3PtdtZJ8U=
=w2Kh
-----END PGP SIGNATURE-----
--- libs/libconsole.pl_ 2004-08-21 13:24:33.000000000 -0400
+++ libs/libconsole.pl 2006-04-14 16:33:10.000000000 -0400
@@ -18,7 +18,7 @@
my $ret = '';
if ($pid > 0) {
close(CHILD_WRITER);
- $ret .= <PARENT_READER>;
+ $ret .= join('', <PARENT_READER>);
close(PARENT_READER);
waitpid($pid, 0);
$result = $?; #GLOBAL Variable: result