From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29095 Path: main.gmane.org!not-for-mail From: Steve Harris Newsgroups: gmane.emacs.gnus.general Subject: Re: Attachments forwarded by MS Outlook Date: 04 Feb 2000 08:52:14 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165824 785 80.91.224.250 (21 Oct 2002 02:03:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:03:44 +0000 (UTC) Cc: damned@world.std.com Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 9D1B8D0521 for ; Fri, 4 Feb 2000 12:52:53 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id LAB04183; Fri, 4 Feb 2000 11:52:36 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 04 Feb 2000 11:52:27 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA15370 for ; Fri, 4 Feb 2000 11:52:10 -0600 (CST) Original-Received: from horus.primus.com (seafw01.primus.com [206.253.199.40]) by mailhost.sclp.com (Postfix) with ESMTP id 61D8DD051F for ; Fri, 4 Feb 2000 11:55:22 -0500 (EST) Original-Received: from hodge.primus.com (hodge.primus.com [198.187.136.4]) by horus.primus.com (8.8.8+Sun/8.8.8) with ESMTP id IAA15168; Fri, 4 Feb 2000 08:52:14 -0800 (PST) Original-Received: (from sharris@localhost) by hodge.primus.com (8.8.8+Sun/8.8.8) id IAA23404; Fri, 4 Feb 2000 08:52:14 -0800 (PST) X-Authentication-Warning: hodge.primus.com: sharris set sender to sharris@primus.com using -f Original-To: ding@gnus.org In-Reply-To: Michael Piotrowski's message of "04 Feb 2000 11:40:52 +0100" Original-Lines: 52 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.2 (Hera) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29095 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29095 Michael Piotrowski writes: > Steve Harris writes: > > > Mark Simpson's tnef program [1] might help here. I downloaded the > > source but could not compile it on Solaris for lack of 'getopt.h'! Can > > It needs GNU getopt and thus doesn't compile out of the box on UNIX. > Attached is a patch which changes it to use Standard getopt instead. Thanks for the patch. 'tnef' built fine with your patch, but core dumps on all of the sample files in the test directory: [_ hodge:~/temp/tnef-0.8/src _] > tnef -lnv ../tests/rtf.tnef TNEF Key is: c02 TNEF Version [type: dword] = 00010000 OEM Codepage [type: byte] = e4 04 00 00 00 00 00 00 Message Class [type: word] = 5049 5049 5049... Message ID [type: string] ='4C8701152E82D311A7A50008C71BCA8D' Date Modified [type: date] =Segmentation fault (core dumped) [_ hodge:~/temp/tnef-0.8/src _] > gdb tnef core GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.5.1"...(no debugging symbols found)... Core was generated by `tnef -lnv ../tests/rtf.tnef'. Program terminated with signal 11, Segmentation Fault. Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done. Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...(no debugging symbols found)...done. #0 0xef6a4734 in strlen () from /usr/lib/libc.so.1 (gdb) where #0 0xef6a4734 in strlen () from /usr/lib/libc.so.1 #1 0xef6da65c in _doprnt () from /usr/lib/libc.so.1 #2 0xef6e36c4 in fprintf () from /usr/lib/libc.so.1 #3 0x11be8 in dump_attr () #4 0x11f38 in decode_attribute () #5 0x11f70 in decode_message () #6 0x124b0 in parse_file () #7 0x11330 in main () (gdb) q -- Steven E. Harris Primus Knowledge Solutions, Inc. http://www.primus.com