It's not the DOS line breaks theres the problem. ifmail puts some junk
chars on the filename.
I got the following patch from Alexander Krupp:
--- filelist.c Sat Apr 26 11:01:58 1997
+++ /tmp/filelist.c.patched Thu Aug 28 11:02:41 1997
@@ -198,9 +198,12 @@
(strncasecmp(p,dosoutbound,strlen(dosoutbound)) == 0))
{
strcpy(buf2,outbound);
- for (p+=strlen(dosoutbound),q=buf2+strlen(buf2);
- *p;p++,q++)
- *q=((*p) == '\\')?'/':tolower(*p);
+/* This section has been patched by Alexander Krupp, 28.08.97 */
+/* Original patch found somewhere on the ifmail-mailing-list */
+ strcat(buf2, "/" );
+ strcat(buf2,p+(strlen(dosoutbound)));
+ for (q=buf2;*q;q++)
+ *q=((*q) == '\\')?'/':tolower(*q);
p=buf2;
}
if ((q=strrchr(p,'/'))) q++;
He wrote: "This works for me, despite not being totally correct as
appending that "/" results in "//" when searching
the file. I will correct and test that later."
It works for me too. :-)
kind regards,
ask
---------------------------------------------------------------------
ask bjoern hansen - Netcetera - Finsensvej 80 - DK-2000 Frederiksberg
tlf 38 88 32 22 / 40 44 58 66 / 38 88 20 38 ext 341 - Fax 38 88 30 38
Webdesign, Webhotel, Mailhotel, UUCP & more! http://www.netcetera.dk/