fix "garbled characters" issue in imap rename, as reported by marco@
"get it in" sthen@, ok merdely@
This commit is contained in:
parent
009cb54b7f
commit
51bb21b6fa
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.45 2007/11/11 10:09:43 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.46 2008/02/06 15:01:56 okan Exp $
|
||||
|
||||
COMMENT= tty-based e-mail client, development version
|
||||
|
||||
VERSION= 1.5.17
|
||||
DISTNAME= mutt-${VERSION}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
MASTER_SITES= ${MASTER_SITES_MUTT:=devel/}
|
||||
|
||||
FLAVORS= idn sasl sidebar
|
||||
|
14
mail/mutt/snapshot/patches/patch-imap_browse_c
Normal file
14
mail/mutt/snapshot/patches/patch-imap_browse_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-imap_browse_c,v 1.3 2008/02/06 15:01:56 okan Exp $
|
||||
--- imap/browse.c.orig Mon May 28 19:19:39 2007
|
||||
+++ imap/browse.c Tue Feb 5 17:42:51 2008
|
||||
@@ -313,7 +313,9 @@ int imap_mailbox_rename(const char* mailbox)
|
||||
}
|
||||
|
||||
snprintf(buf, sizeof (buf), _("Rename mailbox %s to: "), mx.mbox);
|
||||
-
|
||||
+
|
||||
+ strfcpy (newname, NONULL (mx.mbox), sizeof (newname));
|
||||
+
|
||||
if (mutt_get_field (buf, newname, sizeof (newname), M_FILE) < 0)
|
||||
goto fail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user