cph at oce
Jan 25, 2003, 10:33 AM
Post #4 of 6
> Chris, can you resend those patches? I've scoured through my
RE: ripMIME decoding of ISO encoded filenames
[In reply to]
> email here and can't seem to find them ( Must be my day of
> losing things ).
Ok, it appears that you might not have received the patch which I attached
to the previous message.
I'll include it inline below:
--- ripmime-188.8.131.52-orig/mime.c Tue Nov 12 03:05:26 2002
+++ ripmime-184.108.40.206/mime.c Tue Nov 19 18:09:12 2002
@@ -2411,8 +2411,8 @@
if ( (result != -1) && (
- fprintf(stdout,"MIME_decode_encoding: Last filename was :
+ if (MIME_DNORMAL) fprintf(stdout,"MIME_decode_encoding: Last
filename was : %s\n",hinfo->filename);
MIME_unpack( unpackdir, hinfo->scratch,
> By the way, this isn't yet an official release ;-) So I'll
> put those in.
> > mime.c:1061: warning: `encoding_type' might be used uninitialized in
> > this function
> Hrmm... rather strange, what compiler are you using?
This machine is running Redhat 7.3, kernel 2.4.18, gcc-2.96 and glibc-2.2.5.
When I posted the last email I hadn't tested the new version, other than
compiling it. I've now found a couple of problems.
First, I get a segmentation fault whenever I run ripmime -d with no output
Secondly, I get the following error:
MIME_headers:694:MIME_headers.c: In attachment name parsing, was expecting a
'=' in the start of ': cph; local time: sat jan 25 15:20:40
2003; local host: pmweb7.uk1.bibliotech.net; remote host: 220.127.116.11;
referer site: www.postmaster.co.uk
x-complaints-to: administrator [at] postmaster
message-id: <pm.2945.1043508040 [at] pmweb7>
The message is:
X-Mailer: MIME-tools 5.41 (Entity 5.404)
From: "Chris Hine" <cph [at] postmaster>
To: cph [at] oce
Date: Sat, 25 Jan 2003 15:20:40 +0000
X-Postmaster: Sent from Postmaster http://www.postmaster.co.uk/, the
world's premier free web-based email service, based in London, England.
X-Postmaster-Trace: Account name: cph; Local time: Sat Jan 25 15:20:40
2003; Local host: pmweb7.uk1.bibliotech.net; Remote host: 10.10.10.10;
Referer site: www.postmaster.co.uk
X-Complaints-To: Administrator [at] postmaster
Message-Id: <PM.2945.1043508040 [at] pmweb7>
Ripmime does correctly create a textfile0 with just 'test' in it.
If you need any more details, just ask.