1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/japanese/iv/files/patch-bp
Shigeyuki Fukushima d0094e951a Fix build error under 4-current and new egcs/C++ compiler.
PR:		ports/16024
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
2000-01-11 15:52:35 +00:00

13 lines
421 B
Plaintext

--- src/bin/mailbox/main.c.org Sat Sep 12 01:19:22 1992
+++ src/bin/mailbox/main.c Mon Jan 3 14:27:04 2000
@@ -453,7 +453,8 @@
if (atp != nil) {
char* dotp = strchr(atp, '.');
if (dotp != nil) {
- for (int i = 0; i < strlen(mail_domain); ++i) {
+ int i;
+ for (i = 0; i < strlen(mail_domain); ++i) {
char c = dotp[i];
c = isupper(c) ? c - 'A' + 'a' : c;
if (c != mail_domain[i]) {