2 ===================================================================
3 RCS file: /home/roessler/cvs/mutt/color.c,v
4 retrieving revision 3.8
5 retrieving revision 3.9
7 --- mutt/color.c 17 Sep 2005 20:46:10 -0000 3.8
8 +++ mutt/color.c 16 Dec 2005 18:49:40 -0000 3.9
9 @@ -309,14 +309,14 @@ parse_color_name (const char *s, int *co
13 - if (mutt_strncasecmp (s, "bright", 6) == 0)
14 + if (ascii_strncasecmp (s, "bright", 6) == 0)
20 /* allow aliases for xterm color resources */
21 - if (mutt_strncasecmp (s, "color", 5) == 0)
22 + if (ascii_strncasecmp (s, "color", 5) == 0)
25 *col = strtol (s, &eptr, 10);
27 ===================================================================
28 RCS file: /home/roessler/cvs/mutt/crypt.c,v
29 retrieving revision 3.32
30 retrieving revision 3.33
31 diff -u -p -r3.32 -r3.33
32 --- mutt/crypt.c 21 Oct 2005 04:35:37 -0000 3.32
33 +++ mutt/crypt.c 16 Dec 2005 18:49:40 -0000 3.33
34 @@ -552,7 +552,7 @@ void convert_to_7bit (BODY *a)
35 convert_to_7bit (a->parts);
37 else if (a->type == TYPEMESSAGE &&
38 - mutt_strcasecmp(a->subtype, "delivery-status"))
39 + ascii_strcasecmp(a->subtype, "delivery-status"))
41 if(a->encoding != ENC7BIT)
42 mutt_message_to_7bit (a, NULL);
43 @@ -808,15 +808,15 @@ int mutt_signed_handler (BODY *a, STATE
45 if ((WithCrypto & APPLICATION_PGP)
46 && protocol_major == TYPEAPPLICATION
47 - && !mutt_strcasecmp (protocol_minor, "pgp-signature"))
48 + && !ascii_strcasecmp (protocol_minor, "pgp-signature"))
50 else if ((WithCrypto & APPLICATION_SMIME)
51 && protocol_major == TYPEAPPLICATION
52 - && !(mutt_strcasecmp (protocol_minor, "x-pkcs7-signature")
53 - && mutt_strcasecmp (protocol_minor, "pkcs7-signature")))
54 + && !(ascii_strcasecmp (protocol_minor, "x-pkcs7-signature")
55 + && ascii_strcasecmp (protocol_minor, "pkcs7-signature")))
57 else if (protocol_major == TYPEMULTIPART
58 - && !mutt_strcasecmp (protocol_minor, "mixed"))
59 + && !ascii_strcasecmp (protocol_minor, "mixed"))
63 @@ -840,7 +840,7 @@ int mutt_signed_handler (BODY *a, STATE
65 if ((WithCrypto & APPLICATION_PGP)
66 && signatures[i]->type == TYPEAPPLICATION
67 - && !mutt_strcasecmp (signatures[i]->subtype, "pgp-signature"))
68 + && !ascii_strcasecmp (signatures[i]->subtype, "pgp-signature"))
70 if (crypt_pgp_verify_one (signatures[i], s, tempfile) != 0)
72 @@ -850,8 +850,8 @@ int mutt_signed_handler (BODY *a, STATE
74 if ((WithCrypto & APPLICATION_SMIME)
75 && signatures[i]->type == TYPEAPPLICATION
76 - && (!mutt_strcasecmp(signatures[i]->subtype, "x-pkcs7-signature")
77 - || !mutt_strcasecmp(signatures[i]->subtype, "pkcs7-signature")))
78 + && (!ascii_strcasecmp(signatures[i]->subtype, "x-pkcs7-signature")
79 + || !ascii_strcasecmp(signatures[i]->subtype, "pkcs7-signature")))
81 if (crypt_smime_verify_one (signatures[i], s, tempfile) != 0)
84 ===================================================================
85 RCS file: /home/roessler/cvs/mutt/handler.c,v
86 retrieving revision 3.25
87 retrieving revision 3.26
88 diff -u -p -r3.25 -r3.26
89 --- mutt/handler.c 22 Nov 2005 12:21:14 -0000 3.25
90 +++ mutt/handler.c 16 Dec 2005 18:49:40 -0000 3.26
91 @@ -1843,7 +1843,7 @@ int mutt_body_handler (BODY *b, STATE *s
92 handler = mutt_signed_handler;
94 else if ((WithCrypto & APPLICATION_PGP)
95 - && mutt_strcasecmp ("encrypted", b->subtype) == 0)
96 + && ascii_strcasecmp ("encrypted", b->subtype) == 0)
98 p = mutt_get_parameter ("protocol", b->parameter);
101 ===================================================================
102 RCS file: /home/roessler/cvs/mutt/init.c,v
103 retrieving revision 3.46
104 retrieving revision 3.47
105 diff -u -p -r3.46 -r3.47
106 --- mutt/init.c 5 Oct 2005 19:24:40 -0000 3.46
107 +++ mutt/init.c 16 Dec 2005 18:49:40 -0000 3.47
108 @@ -834,9 +834,9 @@ static int parse_attach_list (BUFFER *bu
109 a = safe_malloc(sizeof(ATTACH_MATCH));
111 /* some cheap hacks that I expect to remove */
112 - if (!mutt_strcasecmp(buf->data, "any"))
113 + if (!ascii_strcasecmp(buf->data, "any"))
114 a->major = safe_strdup("*/.*");
115 - else if (!mutt_strcasecmp(buf->data, "none"))
116 + else if (!ascii_strcasecmp(buf->data, "none"))
117 a->major = safe_strdup("cheap_hack/this_should_never_match");
119 a->major = safe_strdup(buf->data);
120 @@ -898,9 +898,9 @@ static int parse_unattach_list (BUFFER *
122 mutt_extract_token (buf, s, 0);
124 - if (!mutt_strcasecmp(buf->data, "any"))
125 + if (!ascii_strcasecmp(buf->data, "any"))
126 tmp = safe_strdup("*/.*");
127 - else if (!mutt_strcasecmp(buf->data, "none"))
128 + else if (!ascii_strcasecmp(buf->data, "none"))
129 tmp = safe_strdup("cheap_hack/this_should_never_match");
131 tmp = safe_strdup(buf->data);
132 @@ -1001,13 +1001,13 @@ static int parse_attachments (BUFFER *bu
136 - if (!mutt_strncasecmp(category, "attachment", strlen(category))) {
137 + if (!ascii_strncasecmp(category, "attachment", strlen(category))) {
139 listp = &AttachAllow;
141 listp = &AttachExclude;
143 - else if (!mutt_strncasecmp(category, "inline", strlen(category))) {
144 + else if (!ascii_strncasecmp(category, "inline", strlen(category))) {
146 listp = &InlineAllow;
148 @@ -1038,13 +1038,13 @@ static int parse_unattachments (BUFFER *
152 - if (!mutt_strncasecmp(p, "attachment", strlen(p))) {
153 + if (!ascii_strncasecmp(p, "attachment", strlen(p))) {
155 listp = &AttachAllow;
157 listp = &AttachExclude;
159 - else if (!mutt_strncasecmp(p, "inline", strlen(p))) {
160 + else if (!ascii_strncasecmp(p, "inline", strlen(p))) {
162 listp = &InlineAllow;
165 ===================================================================
166 RCS file: /home/roessler/cvs/mutt/parse.c,v
167 retrieving revision 3.21
168 retrieving revision 3.22
169 diff -u -p -r3.21 -r3.22
170 --- mutt/parse.c 21 Oct 2005 04:35:37 -0000 3.21
171 +++ mutt/parse.c 16 Dec 2005 18:49:40 -0000 3.22
172 @@ -1542,7 +1542,7 @@ int count_body_parts (BODY *body, int fl
174 /* Always recurse multiparts, except multipart/alternative. */
176 - if (!mutt_strcasecmp(bp->subtype, "alternative"))
177 + if (!ascii_strcasecmp(bp->subtype, "alternative"))
180 /* Don't count containers if they're top-level. */
182 ===================================================================
183 RCS file: /home/roessler/cvs/mutt/smime.c,v
184 retrieving revision 3.47
185 retrieving revision 3.48
186 diff -u -p -r3.47 -r3.48
187 --- mutt/smime.c 21 Oct 2005 04:35:38 -0000 3.47
188 +++ mutt/smime.c 16 Dec 2005 18:49:40 -0000 3.48
189 @@ -1621,7 +1621,7 @@ int smime_verify_one (BODY *sigbdy, STAT
192 line = mutt_read_line (line, &linelen, smimeerr, &lineno);
193 - if (linelen && !mutt_strcasecmp (line, "verification successful"))
194 + if (linelen && !ascii_strcasecmp (line, "verification successful"))
198 @@ -1842,7 +1842,7 @@ static BODY *smime_handle_entity (BODY *
201 line = mutt_read_line (line, &linelen, smimeerr, &lineno);
202 - if (linelen && !mutt_strcasecmp (line, "verification successful"))
203 + if (linelen && !ascii_strcasecmp (line, "verification successful"))