View | Details | Raw Unified | Return to bug 27310 | Differences between
and this patch

Collapse All | Expand All

(-)files/00elm.sh (+18 lines)
Added Link Here
1
#!/bin/sh
2
3
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
4
    echo "$0: Cannot determine the PREFIX" >&2
5
    exit 1
6
fi
7
8
case "$1" in
9
start)
10
	/sbin/ldconfig -m ${PREFIX}/%%SHLIB_SUBDIR%%
11
	;;
12
stop)
13
	;;
14
*)
15
	echo "Usage: `basename $0` {start|stop}" 2>&1
16
	exit 64
17
	;;
18
esac
(-)files/patch-newmbox.c (+36 lines)
Added Link Here
1
--- src/newmbox.c.orig	Tue Feb  6 19:48:32 2001
2
+++ src/newmbox.c	Sat May 12 21:28:05 2001
3
@@ -568,6 +568,33 @@
4
 		}	       
5
 	    }
6
 
7
+	    else if (NULL != (tmphdr = locate_header_by_name(parsed_headers,
8
+							"Newsgroups"))) {	    
9
+		struct addr_item * addrs = 
10
+		    break_down_address(tmphdr->body,
11
+				       !(current_header -> status & 
12
+					 NOHDRENCODING) &&
13
+				       is_rfc1522(tmphdr->body),
14
+				       current_header->header_charset);
15
+
16
+		if (addrs) {
17
+		    if (current_header->to)
18
+			free_addr_items(current_header->to);
19
+		    current_header->to = addrs;
20
+		    if (debug > 15 && debugfile) {
21
+			struct addr_item * p;
22
+			for (p =  current_header->to; p->addr; p++) {
23
+			    elm_fprintf(debugfile,
24
+					FRM("--   to[%d] addr='%s' comment='%S' fullname='%S'\n"),
25
+					p - current_header->to,
26
+					p->addr,
27
+					p->comment,
28
+					p->fullname);
29
+			}
30
+		    }
31
+		}	       
32
+	    }
33
+
34
 	    if (NULL != (tmphdr = locate_header_by_name(parsed_headers,
35
 							"Cc"))) {	    
36
 		struct addr_item * addrs = 

Return to bug 27310