23 Dec 2011 16:26
superseded articles and posted_articles_file
Dennis Preiser <dennis <at> d--p.de>
2011-12-23 15:26:35 GMT
2011-12-23 15:26:35 GMT
Is it intended that superseded articles are not stored in
posted_articles_file? If not, I've attached a patch for that.
(POST_SUPERSEDE can not be used because of conflicts with "enum
defined_functions" in keymap.h.)
Dennis
diff -urp tin-2.1.0/src/post.c tin-2.1.0_r1/src/post.c
--- tin-2.1.0/src/post.c 2011-11-11 22:31:20.000000000 +0100
+++ tin-2.1.0_r1/src/post.c 2011-12-23 14:49:07.000000000 +0100
<at> <at> -107,6 +107,7 <at> <at>
#define POST_NORMAL 2
#define POST_RESPONSE 3
#define POST_REPOST 4
+#define POST_SUPERSEDED 5
/* When prompting for subject, display no more than 20 characters */
#define DISPLAY_SUBJECT_LEN 20
<at> <at> -1821,7 +1822,7 <at> <at> post_article_loop:
break;
}
signal_context = cPost;
- if (type != POST_REPOST) {
+ if (type != POST_REPOST && type != POST_SUPERSEDED) {
char keyedit[MAXKEYLEN], keypost[MAXKEYLEN];
char keypostpone[MAXKEYLEN], keyquit[MAXKEYLEN];
char keymenu[MAXKEYLEN];
<at> <at> -1984,6 +1985,7 <at> <at> post_article_done:
break;
(Continue reading)
RSS Feed