+2009-06-01 14:50 +0200 Rocco Rutte <pdmef@gmx.net> (7a277ba306c9)
+
+ * gnupgparse.c: Use mutt_atoi() when parsing GnuPG output. Closes
+ #3145
+
+2009-06-01 13:22 +0200 Rocco Rutte <pdmef@gmx.net> (82a581c24f1a)
+
+ * hcache.c, mh.c: More atoi() fixes
+
+2009-06-01 11:27 +0200 Rocco Rutte <pdmef@gmx.net> (371d7556fec3)
+
+ * ChangeLog, smtp.c: SMTP: Use mutt_atoi() to parse server responses
+
2009-06-01 11:26 +0200 Rocco Rutte <pdmef@gmx.net> (35a444838167)
* curs_main.c, edit.c, init.c, main.c, menu.c, mh.c, parse.c,
BUFFY **tmp,*tmp1;
char buf[_POSIX_PATH_MAX];
struct stat sb;
+ char f1[PATH_MAX], f2[PATH_MAX];
while (MoreArgs (s))
{
/* Skip empty tokens. */
if(!*buf) continue;
- /* simple check to avoid duplicates */
+ if (!realpath (buf, f1))
+ continue;
+
+ /* avoid duplicates */
for (tmp = &Incoming; *tmp; tmp = &((*tmp)->next))
{
- if (mutt_strcmp (buf, (*tmp)->path) == 0)
+ if (!realpath ((*tmp)->path, f2))
+ continue;
+ if (mutt_strcmp (f1, f2) == 0)
+ {
+ dprint(3,(debugfile,"mailbox '%s' already registered as '%s'\n", buf, (*tmp)->path));
break;
+ }
}
if(data == M_UNMAILBOXES)