22 lines
670 B
Text
22 lines
670 B
Text
$NetBSD: patch-aj,v 1.2 2006/03/19 22:10:38 joerg Exp $
|
|
|
|
--- src/mail.c.orig 2005-05-24 03:38:10.000000000 +0000
|
|
+++ src/mail.c
|
|
@@ -33,7 +33,7 @@
|
|
|
|
#include "pixmaps/mail/decal_mail.xpm"
|
|
|
|
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
|
|
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
#define HAVE_MD5_H
|
|
#endif
|
|
|
|
@@ -1317,7 +1317,7 @@ check_mh_dir(Mailbox *mbox)
|
|
while ((name = (gchar *) g_dir_read_name(dir)) != NULL)
|
|
{
|
|
/* Files starting with a digit are messages. */
|
|
- if (isdigit(name[0]))
|
|
+ if (isdigit((unsigned char)name[0]))
|
|
mbox->mail_count++;
|
|
}
|
|
g_dir_close(dir);
|