blob: 4d5abdffe7465b58ecaa40a0ee4d853be1d1c8c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-cc,v 1.2 2010/11/24 20:19:44 drochner Exp $
--- camel/providers/local/camel-maildir-summary.c.orig 2010-09-21 06:21:00.000000000 +0000
+++ camel/providers/local/camel-maildir-summary.c
@@ -375,7 +375,7 @@ static gchar *maildir_summary_next_uid_s
g_free(uid);
sleep(2);
}
- uid = g_strdup_printf("%ld.%d_%u.%s", time(NULL), getpid(), nextuid, mds->priv->hostname);
+ uid = g_strdup_printf("%lld.%d_%u.%s", (long long)time(NULL), getpid(), nextuid, mds->priv->hostname);
name = g_strdup_printf("%s/tmp/%s", cls->folder_path, uid);
retry++;
} while (g_stat(name, &st) == 0 && retry<3);
|