From MAILER-DAEMON Tue Jun 17 07:15:00 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1WwrLw-0002GM-A1
	for mharc-commit-mailutils@gnu.org; Tue, 17 Jun 2014 07:15:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37851)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1WwrLp-0002FD-Vi
	for commit-mailutils@gnu.org; Tue, 17 Jun 2014 07:14:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1WwrLk-0003zE-IA
	for commit-mailutils@gnu.org; Tue, 17 Jun 2014 07:14:53 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:35197)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1WwrLk-0003z8-FJ
	for commit-mailutils@gnu.org; Tue, 17 Jun 2014 07:14:48 -0400
Received: from gray by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1WwrLi-0008Ut-6o
	for commit-mailutils@gnu.org; Tue, 17 Jun 2014 11:14:47 +0000
Date: Tue, 17 Jun 2014 11:14:46 +0000
Message-Id: <E1WwrLi-0008Ut-6o@vcs.savannah.gnu.org>
From: "Sergey Poznyakoff" <gray@gnu.org.ua>
To: commit-mailutils@gnu.org
Subject: [SCM] GNU Mailutils branch, master, updated. release-2.2-678-gfc68d02
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 8ad65f75903bd0cd024baab2aea20cf0fdba93bd
X-Git-Newrev: fc68d026ebb7685c6d6d7fd5f7675fcc0aba8c05
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: commit-mailutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Commit notices for GNU mailutils <commit-mailutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-mailutils>,
	<mailto:commit-mailutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-mailutils>
List-Post: <mailto:commit-mailutils@gnu.org>
List-Help: <mailto:commit-mailutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-mailutils>,
	<mailto:commit-mailutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jun 2014 11:14:59 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=fc68d026ebb7685c6d6d7fd5f7675fcc0aba8c05

The branch, master has been updated
       via  fc68d026ebb7685c6d6d7fd5f7675fcc0aba8c05 (commit)
      from  8ad65f75903bd0cd024baab2aea20cf0fdba93bd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fc68d026ebb7685c6d6d7fd5f7675fcc0aba8c05
Author: Damien Diederen <dd@crosstwine.com>
Date:   Sun Jun 8 11:32:15 2014 +0200

    maildir: Keep trailing comma even when no flags are set
    
    Without this, `mk_info_filename' generates filenames of the following
    form when the flag set is empty:
    
        1402217787.M664911P5957Q143.hostname:2
    
    The original Maildir spec (http://cr.yp.to/proto/maildir.html),
    however, mandates that filenames must be of the form `uniq:info', with
    `info' starting with "2,"--including a comma.
    
    This patch removes the "cleanup" performed by `mk_info_filename' as
    that there is no rationale for it in mailutils' source code history,
    and as it breaks Gnus' "nnmaildir" backend (Cf.  `nnmaildir--add-flag').
    
    * libproto/maildir/mbox.c (mk_info_filename): Keep comma at the end of
    filename when the flags suffix is empty.

-----------------------------------------------------------------------

Summary of changes:
 libproto/maildir/mbox.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/libproto/maildir/mbox.c b/libproto/maildir/mbox.c
index 3cddb6f..9773143 100644
--- a/libproto/maildir/mbox.c
+++ b/libproto/maildir/mbox.c
@@ -278,10 +278,7 @@ mk_info_filename (char *directory, char *suffix, char *name, int flags)
   size += 3 + strlen (fbuf);
 
   tmp = malloc (size);
-  if (!fbuf[0])
-    sprintf (tmp, "%s/%s/%*.*s:2", directory, suffix, namelen, namelen, name);
-  else
-    sprintf (tmp, "%s/%s/%*.*s:2,%s", directory, suffix, namelen, namelen, name, fbuf);
+  sprintf (tmp, "%s/%s/%*.*s:2,%s", directory, suffix, namelen, namelen, name, fbuf);
   return tmp;
 }
 


hooks/post-receive
-- 
GNU Mailutils


