Your message dated Fri, 4 Mar 2016 19:26:47 +0100
with message-id <[email protected]>
and subject line Re: Bug#355679: lbdb: m_muttalias reports errors on
mutt_alias-files containing `-' in filename
has caused the Debian Bug report #355679,
regarding lbdb: m_muttalias reports errors on mutt_alias-files containing `-'
in filename
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
355679: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355679
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lbdb
Version: 0.31.1-0ts1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
m_muttalias reports the following errors having a .mutt_alias file
containing dashes in the filename:
/usr/lib/lbdb/m_muttalias: line 34: [: /home/tobias/.mail_aliases:
binary operator expected
- -- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1-tobias1tobias
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages lbdb depends on:
ii libc6 2.3.5-13 GNU C Library: Shared libraries an
ii libvformat1 1.13-3 Library to read and write vcard fi
ii perl 5.8.8-2 Larry Wall's Practical Extraction
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iQCVAwUBRA1IEQ3XOWNKd871AQKZJQP/Wadi1VwJIha6xnphirJlukPlJ6Hc9rJ9
if4IQXKj8tq0pxfyENdpm7iqD2QwZAxH2BYY1JACSxl0zZUcRvGS96KLHf2fu9Ei
elh0YMoMrW4Ky63qAUqthutpFcaSRfLaa0F3UPp5ErImAjpUK8WsvIBMYFRDlS5H
J+kWWh2YdyY=
=22rP
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Source: lbdb
Source-Version: 0.32
> > >> /usr/lib/lbdb/m_muttalias: line 34: [: /home/tobias/.mail_aliases:
> > >> binary operator expected
I didn't get necessary information about this issue from the bug
submitter, but this may have to to with an unquoted filename in
m_muttalias, which was quoted in 0.32:
diff --git a/m_muttalias.sh.in b/m_muttalias.sh.in
index 0e4469e..e9fb696 100644
--- a/m_muttalias.sh.in
+++ b/m_muttalias.sh.in
@@ -31,7 +31,7 @@ m_muttalias_query()
file=$MUTT_DIRECTORY/$file
fi
- if [ -f $file ]
+ if [ -f "$file" ]
then
grep -ia "$@" $file \
| grep -a '^alias[ ][ ]*[^,][^,]*[ ][ ]*[^,]*$' \
So I close this bug report now, since I think that the above change
fixes it.
Tschoeeee
Roland
signature.asc
Description: Digital signature
--- End Message ---