blob: 6693fa366f3c3cf3a0d9a3dbc7a6396c937f601b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$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);
|