From dcbcdf87db6b80a5820b3d9bd57901e2f6b47cc0 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Fri, 23 Sep 2005 00:42:39 +0000 Subject: Update to 2.3.5. --- mail/balsa/files/patch-libbalsa_mailbox_mbox.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mail/balsa/files/patch-libbalsa_mailbox_mbox.c') diff --git a/mail/balsa/files/patch-libbalsa_mailbox_mbox.c b/mail/balsa/files/patch-libbalsa_mailbox_mbox.c index 391f582b2926..d6843e323af4 100644 --- a/mail/balsa/files/patch-libbalsa_mailbox_mbox.c +++ b/mail/balsa/files/patch-libbalsa_mailbox_mbox.c @@ -1,19 +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 +--- libbalsa/mailbox_mbox.c.orig Tue Sep 20 13:01:57 2005 ++++ libbalsa/mailbox_mbox.c Thu Sep 22 20:32:25 2005 +@@ -26,6 +26,7 @@ + #include +#include #include #include #include -@@ -195,7 +196,7 @@ +@@ -215,7 +216,7 @@ libbalsa_mailbox_mbox_create(const gchar 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 " + g_warning("An error:\n%s\n occurred while trying to " "create the mailbox \"%s\"\n", strerror(errno), path); -- cgit v1.2.3