[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#188392: marked as done (newspost: incorrect posting of extra headers)

Your message dated Mon, 09 Aug 2004 03:17:05 -0400
with message-id <E1Bu4P3-0006Sp-00@newraff.debian.org>
and subject line Bug#188392: fixed in newspost 2.1.1-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 9 Apr 2003 22:10:13 +0000
>From ed2k@glupo.gpcdln.es.eu.org Wed Apr 09 17:10:04 2003
Return-path: <ed2k@glupo.gpcdln.es.eu.org>
Received: from 217-125-66-91.uc.nombres.ttd.es (glupo.gpcdln.es.eu.org) [] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 193Nlc-0000eB-00; Wed, 09 Apr 2003 17:10:04 -0500
Received: from ed2k by glupo.gpcdln.es.eu.org with local (Exim 3.35 #1 (Debian))
	id 193Nkb-00025W-00; Thu, 10 Apr 2003 00:09:01 +0200
From: El defeKto 2000 <ed2k@glupo.gpcdln.es.eu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: newspost: incorrect posting of extra headers
X-Mailer: reportbug 1.50
Date: Thu, 10 Apr 2003 00:09:01 +0200
Message-Id: <E193Nkb-00025W-00@glupo.gpcdln.es.eu.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-1.1 required=4.0

Package: newspost
Version: 2.1
Severity: normal
Tags: patch

newspost 2.1 doesn't post correctly extra headers defined with -X option

The attached patch can solve the problem (I'm not very good at
programming, so code can surely be improved, without defining a new

## Begin of Patch ##

diff -Nur newspost-2.1/base/nntp.c my_newspost-2.1/base/nntp.c
--- newspost-2.1/base/nntp.c    Tue Sep  3 02:07:26 2002
+++ my_newspost-2.1/base/nntp.c Wed Apr  9 23:50:57 2003
@@ -118,7 +118,9 @@
                buff = buff_add(buff, "X-No-Archive: yes\r\n");
        listptr = data->extra_headers;
        while (listptr != NULL) {
-               buff = buff_add(buff, "%s\r\n", listptr->data);
+               Buff *buffy;
+               buffy = (Buff *) listptr->data;
+               buff = buff_add(buff, "%s\r\n", (char *) buffy->data);
                listptr = slist_next(listptr);
        buff = buff_add(buff,"\r\n");

## End of Patch ##

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux glupo 2.4.18 #3 SMP mar feb 11 20:47:12 CET 2003 i586
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro

Received: (at 188392-close) by bugs.debian.org; 9 Aug 2004 07:23:34 +0000
>From katie@ftp-master.debian.org Mon Aug 09 00:23:34 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bu4VJ-0000bD-00; Mon, 09 Aug 2004 00:23:34 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Bu4P3-0006Sp-00; Mon, 09 Aug 2004 03:17:05 -0400
From: tb@debian.org (Thomas Bushnell, BSG)
To: 188392-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#188392: fixed in newspost 2.1.1-1
Message-Id: <E1Bu4P3-0006Sp-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 09 Aug 2004 03:17:05 -0400
Delivered-To: 188392-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 2

Source: newspost
Source-Version: 2.1.1-1

We believe that the bug you reported is fixed in the latest version of
newspost, which is due to be installed in the Debian FTP archive:

  to pool/main/n/newspost/newspost_2.1.1-1.diff.gz
  to pool/main/n/newspost/newspost_2.1.1-1.dsc
  to pool/main/n/newspost/newspost_2.1.1-1_powerpc.deb
  to pool/main/n/newspost/newspost_2.1.1.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 188392@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Thomas Bushnell, BSG <tb@debian.org> (supplier of updated newspost package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sun,  8 Aug 2004 23:49:43 -0700
Source: newspost
Binary: newspost
Architecture: source powerpc
Version: 2.1.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Thomas Bushnell, BSG <tb@debian.org>
 newspost   - Usenet binary autoposter
Closes: 182168 188392 197284
 newspost (2.1.1-1) unstable; urgency=low
   * QA Upload.
   * New upstream release.  (Closes: #197284, #188392)
   * base/utils.c (getline): Declare C as int, not char.  (Closes: #182168)
 5919910516b133d9a359d735195ca3b1 571 news optional newspost_2.1.1-1.dsc
 099a69ce511f746aec88a57d03575d5f 61412 news optional newspost_2.1.1.orig.tar.gz
 01f258731f35875eee4fc698742e7228 2121 news optional newspost_2.1.1-1.diff.gz
 56a19caad06a36c7f4ffa716ccbe334e 41554 news optional newspost_2.1.1-1_powerpc.deb

Version: GnuPG v1.2.5 (GNU/Linux)


Reply to: