From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24549 Path: main.gmane.org!not-for-mail From: Mike Fabian Newsgroups: gmane.emacs.gnus.general Subject: 0x0a is appended to attachments. pgnus 0.95 Bug? Date: 29 Jul 1999 15:02:12 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: Reply-To: mike.fabian@it-mannesmann.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162097 9340 80.91.224.250 (21 Oct 2002 01:01:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:01:37 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA00399 for ; Thu, 29 Jul 1999 09:09:24 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.3/8.9.3) with ESMTP id IAB22645; Thu, 29 Jul 1999 08:05:47 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 29 Jul 1999 08:06:23 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA15898 for ; Thu, 29 Jul 1999 08:06:12 -0500 (CDT) Original-Received: from sunny.mannesmann.de (sunny.mannesmann.de [195.233.129.30]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA00348 for ; Thu, 29 Jul 1999 09:05:04 -0400 (EDT) Original-Received: from aladin.mannesmann.de ([195.233.128.10]) by sunny.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id AAA2B13 for ; Thu, 29 Jul 1999 15:04:53 +0200 Original-Received: from atlantis.mannesmann.de ([145.230.128.132]) by aladin.mannesmann.de (Netscape Messaging Server 3.6) with ESMTP id ALU5CEC for ; Thu, 29 Jul 1999 15:04:43 +0200 Original-Received: from mwt560.at.mdv.de ([192.125.69.160]) by atlantis.mannesmann.de (Netscape Mail Server v1.1) with ESMTP id AAA11014 for ; Thu, 29 Jul 1999 15:04:17 +0200 Original-Received: from mwt555.at.mdv.de by mwt560.at.mdv.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1458.49) id 3KMZRVA9; Thu, 29 Jul 1999 15:01:24 +0200 Original-To: ding@gnus.org Original-Lines: 58 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) 20.3.11b.1 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24549 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24549 When trying to send a *.tar.gz file as an attachment, it seems that an additional 0x0a character is appended to the end of the file. For testing I did send the speedbar-0.8.1.tar.gz as an attachment to my own address and used `Gcc: nnfolder+archive:archive' to get a copy in my archive. When the test mail returns to me and I save the attachment to the file test4-speedbar-0.8.1.tar.gz, the file seems to be corrupted: ~$ gzip --test --verbose test4-speedbar-0.8.1.tar.gz test4-speedbar-0.8.1.tar.gz: gzip: test4-speedbar-0.8.1.tar.gz: unexpected end of file The original file was OK: ~$ gzip --test --verbose speedbar-0.8.1.tar.gz speedbar-0.8.1.tar.gz: OK comparing yields: ~$ cmp -l test4-speedbar-0.8.1.tar.gz speedbar-0.8.1.tar.gz cmp: EOF on speedbar-0.8.1.tar.gz ~$ ll test4-speedbar-0.8.1.tar.gz speedbar-0.8.1.tar.gz -rw-r--r-- 1 0 Everyone 48086 Jul 29 13:34 speedbar-0.8.1.tar.gz -rw-r--r-- 1 0 Everyone 48087 Jul 29 14:30 test4-speedbar-0.8.1.tar.gz i.e. the received attachment is one byte longer than the original. Looking at the two files with Emacs I find that the only difference is the last byte of test4-speedbar-0.8.1.tar.gz which has the hex value 0x0a. After removing this byte diff says it's identical to the original and I can gunzip it. The copy of the mail which was Gcc'ed to my archive does not have the problem of the extra 0x0a byte. When I save the attachment from this copy, no 0xa is appended and the saved file is identical to the original. Is this a bug or am I doing something wrong? I am using (version) "GNU Emacs 20.3.11b.1 (i386-*-nt4.0.1381) of Mon Jul 12 1999 on gridlock" (gnus-version) "Pterodactyl Gnus v0.95" Mike -- Dr. Mike Fabian Mannesmann Datenverarbeitung Mathematische/Technische Systeme Verfahrenstechnik Rehhecke 50, D-40885 Ratingen Tel.: +49-2102 97 1763, Fax: +49-2102 97 1345