From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35433 Path: main.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.gnus.general Subject: Re: winmail.dat attachments Date: 21 Mar 2001 11:17:28 +0100 Organization: Church of Emacs Message-ID: References: Reply-To: C.Conrad@cli.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171178 3052 80.91.224.250 (21 Oct 2002 03:32:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:32:58 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 3588 invoked by alias); 21 Mar 2001 10:17:39 -0000 Original-Received: (qmail 3583 invoked from network); 21 Mar 2001 10:17:39 -0000 Original-Received: from gate.cli.de (212.117.64.114) by gnus.org with SMTP; 21 Mar 2001 10:17:39 -0000 Original-Received: from cli3.cli.de (cli3.cli.de [10.13.11.3]) by gate.cli.de (8.9.3/8.9.3) with ESMTP id LAA04452; Wed, 21 Mar 2001 11:17:32 +0100 Original-Received: from CLI119 (cli119.cli.de [10.13.23.119]) by cli3.cli.de (8.9.3/8.9.3) with ESMTP id LAA15819; Wed, 21 Mar 2001 11:17:27 +0100 Original-To: dnc@bigfoot.com X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x5FCAAE45 In-Reply-To: (Simon Josefsson's message of "21 Mar 2001 10:30:45 +0100") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Original-Lines: 19 Xref: main.gmane.org gmane.emacs.gnus.general:35433 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35433 Simon> No, it handles attachments too, see Simon> . With the following fix it works under Windows NT too: if ((fp = fopen(filename,"r")) == NULL) { => if ((fp = fopen(filename,"rb")) == NULL) { (mailed to the author) i. A. Best regards, Christoph Conrad -- TTi Entwicklungszentrum GmbH, Matthiashofstr. 28-30, D-52064 Aachen Fon: +49 241 47051-0 Fax: +49 241 47051-89 Web: http://www.cli.de Look Ma, this man can twist his fingers as if they were made of rubber, isn't that amazing? -- Not really, he's been using emacs for years...!