From 535065f7b72d7f326a30bbbc54ff37f8efaacf78 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Thu, 25 Nov 2004 02:14:13 +0000 Subject: Update to 2.2.6. --- mail/balsa/files/patch-libbalsa_mailbox_mbox.c | 19 +++++++++++++++++++ mail/balsa/files/patch-src_balsa-app.c | 13 ------------- 2 files changed, 19 insertions(+), 13 deletions(-) create mode 100644 mail/balsa/files/patch-libbalsa_mailbox_mbox.c delete mode 100644 mail/balsa/files/patch-src_balsa-app.c (limited to 'mail/balsa/files') diff --git a/mail/balsa/files/patch-libbalsa_mailbox_mbox.c b/mail/balsa/files/patch-libbalsa_mailbox_mbox.c new file mode 100644 index 000000000000..391f582b2926 --- /dev/null +++ b/mail/balsa/files/patch-libbalsa_mailbox_mbox.c @@ -0,0 +1,19 @@ +--- libbalsa/mailbox_mbox.c.orig Wed Nov 24 21:05:03 2004 ++++ libbalsa/mailbox_mbox.c Wed Nov 24 21:06:54 2004 +@@ -27,6 +27,7 @@ + #include + #include + ++#include + #include + #include + #include +@@ -195,7 +196,7 @@ + if(!create) + return(-1); + +- if ((fd = creat(path, S_IRUSR | S_IWUSR)) == -1) { ++ if ((fd = open(path, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR | S_IWUSR)) == -1) { + g_warning("An error:\n%s\n occured while trying to " + "create the mailbox \"%s\"\n", + strerror(errno), path); diff --git a/mail/balsa/files/patch-src_balsa-app.c b/mail/balsa/files/patch-src_balsa-app.c deleted file mode 100644 index b93ab17fcee9..000000000000 --- a/mail/balsa/files/patch-src_balsa-app.c +++ /dev/null @@ -1,13 +0,0 @@ ---- src/balsa-app.c.orig Fri Aug 6 17:43:17 2004 -+++ src/balsa-app.c Fri Aug 6 17:43:42 2004 -@@ -652,10 +652,6 @@ - BalsaFind bf; - gboolean is_sub_thread = libbalsa_am_i_subthread(); - --#ifdef BALSA_USE_THREADS -- g_assert(!g_mutex_trylock(gdk_threads_mutex)); --#endif -- - if (is_sub_thread) - gdk_threads_enter(); - -- cgit v1.2.3