pkgsrc/mail/evolution-data-server/patches/patch-cc
drochner 6d4b4cb2da update to 2.32.3
changes:
-bugfixes
-translation updates
2011-05-13 17:18:35 +00:00

13 lines
646 B
Text

$NetBSD: patch-cc,v 1.3 2011/05/13 17:18:35 drochner Exp $
--- camel/providers/local/camel-maildir-summary.c.orig 2011-04-21 19:35:37.000000000 +0000
+++ camel/providers/local/camel-maildir-summary.c
@@ -379,7 +379,7 @@ static gchar *maildir_summary_next_uid_s
g_free(uid);
g_usleep(2*G_USEC_PER_SEC);
}
- 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);