Some time ago (when I still have a FAT partition...) I tryed the "dosoutbound"
keyword in the config file, but then when ifcico was invoked it didn't saw
the files:
Sep 6 01:55:47 linux ifcico[30014]: zmsend cannot open file c:\fidonet\fidonet\0000f9d1.fr0, skipping
Sep 6 01:55:47 linux ifcico[30014]: ^Ierrno=2 : No such file or directory
So I decided to fix it.
There is the patch:
--- work/ifmail-2.8e/ifcico/filelist.c Sun Apr 28 18:47:53 1996
+++ ifmail/ifcico/filelist.c Fri Sep 6 02:12:41 1996
@@ -194,11 +194,12 @@
case 0: continue;
default: p=buf; disposition=LEAVE; break;
}
- if (dosoutbound && (strcasecmp(p,dosoutbound) == 0))
+ if (dosoutbound && (strncasecmp(p,dosoutbound,strlen(dosoutbound)) == 0))
{
strcpy(buf2,outbound);
- for (p+=strlen(dosoutbound),q=buf2;*p;p++,q++)
- *q=((*p) == '\\')?'/':(*p);
+ strcat(buf2,p+(strlen(dosoutbound)));
+ for (q=buf2;*q;q++)
+ *q=((*q) == '\\')?'/':(*q);
p=buf2;
}
if ((q=strrchr(p,'/'))) q++;
--A bientôt, Pablo Saratxaga
~ ~ :wq ;-) PGP Key available, key ID: 0x8F0E4975