summaryrefslogtreecommitdiffstats
path: root/mail/balsa/files/patch-libbalsa_mailbox_maildir.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/balsa/files/patch-libbalsa_mailbox_maildir.c')
-rw-r--r--mail/balsa/files/patch-libbalsa_mailbox_maildir.c84
1 files changed, 0 insertions, 84 deletions
diff --git a/mail/balsa/files/patch-libbalsa_mailbox_maildir.c b/mail/balsa/files/patch-libbalsa_mailbox_maildir.c
deleted file mode 100644
index 5d2e19a24..000000000
--- a/mail/balsa/files/patch-libbalsa_mailbox_maildir.c
+++ /dev/null
@@ -1,84 +0,0 @@
---- libbalsa/mailbox_maildir.c.orig Sun May 6 13:57:53 2007
-+++ libbalsa/mailbox_maildir.c Thu May 31 01:06:37 2007
-@@ -25,6 +25,8 @@
- #define _XOPEN_SOURCE 500
- #define _XOPEN_SOURCE_EXTENDED 1
-
-+#include <sys/types.h>
-+#include <sys/stat.h>
- #include <unistd.h>
- #include <fcntl.h>
- #include <errno.h>
-@@ -49,7 +51,7 @@ struct message_info {
- /* The message's order when parsing; needed for saving the message
- * tree in a form that will match the msgnos when the mailbox is
- * reopened. */
-- guint fileno;
-+ guint mi_fileno;
- };
- #define REAL_FLAGS(flags) ((flags) & LIBBALSA_MESSAGE_FLAGS_REAL)
- #define FLAGS_REALLY_DIFFER(orig_flags, flags) \
-@@ -174,7 +176,7 @@ libbalsa_mailbox_maildir_class_init(LibB
- libbalsa_mailbox_local_class->check_files = lbm_maildir_check_files;
- libbalsa_mailbox_local_class->set_path = lbm_maildir_set_path;
- libbalsa_mailbox_local_class->remove_files = lbm_maildir_remove_files;
-- libbalsa_mailbox_local_class->fileno = lbm_maildir_fileno;
-+ libbalsa_mailbox_local_class->sti_fileno = lbm_maildir_fileno;
- libbalsa_mailbox_local_class->get_info = lbm_maildir_get_info;
- }
-
-@@ -389,7 +391,7 @@ static LibBalsaMessageFlag parse_filenam
- }
-
- static void lbm_maildir_parse(LibBalsaMailboxMaildir * mdir,
-- const gchar *subdir, guint * fileno)
-+ const gchar *subdir, guint * md_fileno)
- {
- gchar *path;
- GDir *dir;
-@@ -442,12 +444,12 @@ static void lbm_maildir_parse(LibBalsaMa
- msg_info->key=key;
- msg_info->filename=g_strdup(filename);
- msg_info->local_info.flags = msg_info->orig_flags = flags;
-- msg_info->fileno = 0;
-+ msg_info->mi_fileno = 0;
- }
- msg_info->subdir = subdir;
-- if (!msg_info->fileno)
-+ if (!msg_info->mi_fileno)
- /* First time we saw this key. */
-- msg_info->fileno = ++*fileno;
-+ msg_info->mi_fileno = ++*md_fileno;
- }
- g_dir_close(dir);
- }
-@@ -455,16 +457,16 @@ static void lbm_maildir_parse(LibBalsaMa
- static void
- lbm_maildir_parse_subdirs(LibBalsaMailboxMaildir * mdir)
- {
-- guint msgno, fileno = 0;
-+ guint msgno, md_fileno = 0;
-
- for (msgno = mdir->msgno_2_msg_info->len; msgno > 0; --msgno) {
- struct message_info *msg_info =
- message_info_from_msgno(mdir, msgno);
-- msg_info->fileno = 0;
-+ msg_info->mi_fileno = 0;
- }
-
-- lbm_maildir_parse(mdir, "cur", &fileno);
-- lbm_maildir_parse(mdir, "new", &fileno);
-+ lbm_maildir_parse(mdir, "cur", &md_fileno);
-+ lbm_maildir_parse(mdir, "new", &md_fileno);
- }
-
- static gboolean
-@@ -864,7 +866,7 @@ lbm_maildir_fileno(LibBalsaMailboxLocal
- msg_info =
- message_info_from_msgno((LibBalsaMailboxMaildir *) local, msgno);
-
-- return msg_info->fileno;
-+ return msg_info->mi_fileno;
- }
-
- static LibBalsaMailboxLocalMessageInfo *