summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch')
-rw-r--r--net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch b/net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch
new file mode 100644
index 000000000000..de4b7a56a274
--- /dev/null
+++ b/net-mail/mhonarc/files/mhonarc-2.6.16-list-output-order.patch
@@ -0,0 +1,45 @@
+--- MHonArc-2.6.16/lib/mhthread.pl.orig 2006-09-08 20:46:48.000000000 -0700
++++ MHonArc-2.6.16/lib/mhthread.pl 2006-09-08 20:47:14.000000000 -0700
+@@ -406,22 +406,22 @@
+ ## Decrement level count if their were replies
+ --$level if ($haverepls);
+
++ ## Close entry text
++ if ($attop) {
++ &print_thread_var($handle, $idx, \$TTOPEND);
++ } elsif (!$single && !$didtliend) {
++ &print_thread_var($handle, $idx, \$TLIEND);
++ }
++
+ ## Check for missing messages
+ if ($DoMissingMsgs && !($attop || $single)) {
+ for ($i=$depth; $i > 0; --$i) {
+- &print_thread_var($handle, $idx, \$TLINONEEND);
+ &print_thread_var($handle, $idx, \$TSUBLISTEND)
+ if $level <= $TLEVELS;
++ &print_thread_var($handle, $idx, \$TLINONEEND);
+ --$level;
+ }
+ }
+-
+- ## Close entry text
+- if ($attop) {
+- &print_thread_var($handle, $idx, \$TTOPEND);
+- } elsif (!$single && !$didtliend) {
+- &print_thread_var($handle, $idx, \$TLIEND);
+- }
+ }
+
+ ##---------------------------------------------------------------------------
+@@ -636,9 +636,9 @@
+ ## Check for missing messages
+ if ($DoMissingMsgs && !($attop || $single)) {
+ for ($i = $depth; $i > 0; $i--) {
+- $ret .= &expand_thread_var($idx, \$TSLICELINONEEND);
+ $ret .= &expand_thread_var($idx, \$TSLICESUBLISTEND)
+ if $level <= $TSLICELEVELS;
++ $ret .= &expand_thread_var($idx, \$TSLICELINONEEND);
+ $level--;
+ }
+ }
+