Your message dated Sun, 08 May 2011 12:40:56 +0000
with message-id <[email protected]>
and subject line Bug#589240: fixed in mutt 1.5.21-5
has caused the Debian Bug report #589240,
regarding mutt-patched: mutt-sidebar patch doesn't follow locale settings for 
sorting
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.)


-- 
589240: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589240
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mutt-patched
Version: 1.5.20-9
Severity: normal


Hi,

The sidebar-sorted patch doesn't follow the locale settings when
sidebar_sort=yes. This is inconsistent with the rest of mutt which does
follow locale when sorting folders.

For example with 3 folders "A", "b", and "C", using LANG=en_GB.UTF-8:
Sorted folders with the mutt browser: A, b, C
Sorted folders with the mutt sidebar: A, C, b

Here is a patch that changes strcmp() to strcoll() to fix this sorting
problem.

Thanks,

Arnaud

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686-bigmem (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt-patched depends on:
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libcomerr2                1.41.12-1      common error description library
ii  libgnutls26               2.8.6-1        the GNU TLS library - runtime libr
ii  libgpg-error0             1.6-1          library for common error values an
ii  libgpgme11                1.2.0-1.2      GPGME - GnuPG Made Easy
ii  libgssapi-krb5-2          1.8.1+dfsg-5   MIT Kerberos runtime libraries - k
ii  libidn11                  1.15-2         GNU Libidn library, implementation
ii  libk5crypto3              1.8.1+dfsg-5   MIT Kerberos runtime libraries - C
ii  libkrb5-3                 1.8.1+dfsg-5   MIT Kerberos runtime libraries
ii  libncursesw5              5.7+20100313-2 shared libraries for terminal hand
ii  libsasl2-2                2.1.23.dfsg1-5 Cyrus SASL - authentication abstra
ii  libtokyocabinet8          1.4.37-6       Tokyo Cabinet Database Libraries [
ii  mutt                      1.5.20-9       text-based mailreader supporting M

mutt-patched recommends no packages.

mutt-patched suggests no packages.

-- no debconf information
Use strcoll() to sort the sidebar using the system's locale settings.
--- a/sidebar.c
+++ b/sidebar.c
@@ -63,7 +63,7 @@
                        needsort=0;
                        tmp = Incoming;
                        for ( ; tmp ; tmp=tmp->next ) {
-                               if (tmp->next != NULL && strcmp(tmp->path, 
tmp->next->path) > 0) {
+                               if (tmp->next != NULL && strcoll(tmp->path, 
tmp->next->path) > 0) {
                                        needsort=1;
                                        prev = tmp->prev;
                                        next = tmp->next;

--- End Message ---
--- Begin Message ---
Source: mutt
Source-Version: 1.5.21-5

We believe that the bug you reported is fixed in the latest version of
mutt, which is due to be installed in the Debian FTP archive:

mutt-dbg_1.5.21-5_amd64.deb
  to main/m/mutt/mutt-dbg_1.5.21-5_amd64.deb
mutt-patched_1.5.21-5_amd64.deb
  to main/m/mutt/mutt-patched_1.5.21-5_amd64.deb
mutt_1.5.21-5.diff.gz
  to main/m/mutt/mutt_1.5.21-5.diff.gz
mutt_1.5.21-5.dsc
  to main/m/mutt/mutt_1.5.21-5.dsc
mutt_1.5.21-5_amd64.deb
  to main/m/mutt/mutt_1.5.21-5_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Radici <[email protected]> (supplier of updated mutt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 05 May 2011 15:00:56 +0000
Source: mutt
Binary: mutt mutt-patched mutt-dbg
Architecture: source amd64
Version: 1.5.21-5
Distribution: unstable
Urgency: low
Maintainer: Antonio Radici <[email protected]>
Changed-By: Antonio Radici <[email protected]>
Description: 
 mutt       - text-based mailreader supporting MIME, GPG, PGP and threading
 mutt-dbg   - debugging symbols for mutt
 mutt-patched - Mutt Mail User Agent with extra patches
Closes: 494735 578098 584138 584581 586454 589240 603186 603287 611405 611410 
611412 613781 619216 619822 620945 624058 624085
Changes: 
 mutt (1.5.21-5) unstable; urgency=low
 .
   * debian/control: Standards-Version moved from 3.9.2.0 to 3.9.2 for
     cosmetic reasons
   * debian/patches/mutt-patched:
     + sidebar: patch replaced with the one written by Stuart Henderson
       (Closes: 619822)
     + sidebar: don't overwrite the status if status_on_top is enabled
       (Closes: 494735)
     + sidebar-sorted: use strcoll() to sort the sidebar using the locale
       settings of the system, patch by Arnaud Riess (Closes: 589240)
     + multiple-fccs: added a patch that allows multiple FCC separated by 
commas,
       written by Omen Wild (Closes: 586454)
     + sidebar-utf8: rewrites make_sidebar_entry() to allow correct padding of
       utf-8 strings and also prevents segfaults due to overflows
       (Closes: 584581, 603287)
   * debian/patches/debian-specific:
     + Muttrc: remove a hook for application/octet-stream, already upstream
       (Closes: 611405)
   * debian/patches/upstream:
     + 611412-bts-regexp.patch: fixes a regexp for BTS in the mutt manual
       (Closes: 611412)
     + 624058-gnutls-deprecated.patch: deprecate gnutls_protocol_set_priority()
       (Closes: 624058)
     + 624085-gnutls-deprecated-verify-peers.patch: deprecate
       gnutls_certificate_verify_peers() (Closes: 624085)
     + 584138-mx_update_context-segfault.patch: fix a segfault due to holes in
       IMAP headers, 537694-segv-imap-headers.patch is removed as part of this
       fix (Closes: 584138)
     + 619216-gnutls-CN-validation.patch: fix the validation of the
       commonname in the gnutls code (Closes: 619216)
     + 611410-no-implicit_autoview-for-text-html.patch: blacklist
       text/html from implicit_autoview, patch by Loïc Minier
       (Closes: 611410, 620945)
   * debian/patches/compressed-folders: remove partially uncompressed folder if
       the open fails (Closes: 578098)
   * debian/extra/samples/sidebar.muttrc: documented the options that
     the sidebar-{sorted,dotted} patches are introducing; documentation
     submitted by Julien Valroff (Closes: 603186)
   * added mutt.desktop and to debian/extra and installed through mutt.install,
     it contains a MimeType handler for mailto (Closes: 613781)
Checksums-Sha1: 
 348f7e208580ab89c1150840929286993d8cd3db 1404 mutt_1.5.21-5.dsc
 ea75302765d16d6b6dad083c6dc37773a3e38b67 165185 mutt_1.5.21-5.diff.gz
 dca121e5eeb855e7ad136f131f29d9aa014695b6 2142402 mutt_1.5.21-5_amd64.deb
 267f6e4375f4e6723ada4b144edd49818baa4aad 438888 mutt-patched_1.5.21-5_amd64.deb
 6b4cfa973b454f18927c3406104b3c3a99c4f484 1561112 mutt-dbg_1.5.21-5_amd64.deb
Checksums-Sha256: 
 0951e0ef2b3dae1b6dc24ec04fcaf2052360aa90639d6649249df7a13d91c528 1404 
mutt_1.5.21-5.dsc
 0b3be194c2a6d0c5a09ef39d92a55547f94e868d15863d4492bc075618a24559 165185 
mutt_1.5.21-5.diff.gz
 66e4814092cedbdc73d2b2458772d3cdd65c82729a4289f2cabdc2ba2d2bc5a3 2142402 
mutt_1.5.21-5_amd64.deb
 f95c75979fa558acc4068106a1e13eac9e06a1a83440104a475b80070a97413b 438888 
mutt-patched_1.5.21-5_amd64.deb
 ccab3bbf0e2eada73a04ad208cf1abfaf39727cc8b43aba1f375ab3f89b98c35 1561112 
mutt-dbg_1.5.21-5_amd64.deb
Files: 
 9f696835ea852566cdbb53fceaaae8af 1404 mail standard mutt_1.5.21-5.dsc
 3c9437bc1b05ea39f1d9dd368a85a269 165185 mail standard mutt_1.5.21-5.diff.gz
 c125a28fc23cf6c59bba46b49654b42d 2142402 mail standard mutt_1.5.21-5_amd64.deb
 cda9452010718b255b6451870dc9cb2f 438888 mail extra 
mutt-patched_1.5.21-5_amd64.deb
 10b685001f584ce16cdbc51b513561c4 1561112 debug extra 
mutt-dbg_1.5.21-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3GSlEACgkQ6Tq8aae+WrCLhwCfbRA6ZVyx58d0n6Zpw5XadnMD
e9kAoJSiIA+1ZPWn8ipKDg8y6q1OBr5t
=Vy84
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to