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

Bug#253672: marked as done (libnewt-perl: manpage example for Newt::Entry callback should return numeric value)

Your message dated Sat, 09 Jul 2005 06:32:32 -0400
with message-id <E1DrCdM-0007ns-00@newraff.debian.org>
and subject line Bug#253672: fixed in libnewt-perl 1.08-10
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; 10 Jun 2004 17:01:37 +0000
>From chris@citecs.de Thu Jun 10 10:01:37 2004
Return-path: <chris@citecs.de>
Received: from gw.citecs.de [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BYSvo-0001Fn-00; Thu, 10 Jun 2004 10:01:37 -0700
Received: from ray.citecs ([])
	by gw.citecs.de with esmtp (Exim 3.35 #1 (Debian))
	id 1BYSMq-0007Ip-00; Thu, 10 Jun 2004 18:25:28 +0200
Received: from chris by ray.citecs with local (Exim 3.35 #1 (Debian))
	id 1BYSvI-0003Zw-00; Thu, 10 Jun 2004 19:01:04 +0200
From: Christian Recktenwald <chris@citecs.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libnewt-perl: manpage example for Newt::Entry callback should return numeric value
X-Mailer: reportbug 1.50
Date: Thu, 10 Jun 2004 19:01:04 +0200
Message-Id: <E1BYSvI-0003Zw-00.%citecs-de@ray.citecs>
Delivered-To: submit@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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Package: libnewt-perl
Version: 1.08-6
Severity: normal
Tags: patch

man Newt says:

     1	       Entry boxes
     3		   [...]
     5		   sub my_filter {
     6		   [...]
     8		   	 return($proposed_char)    # Accept the char
     9		  }

This should be:
	 9 	         return(ord($proposed_char)) # return ascii code of 
	10                                       # character to be inserted

Using the original example raises the error:
Argument "z" isn't numeric in subroutine entry at /usr/lib/perl5/Newt.pm 
line 590.

--- Newt.3pm.orig	Thu Jun 10 18:55:39 2004
+++ Newt.3pm	Thu Jun 10 18:58:05 2004
@@ -360,7 +360,8 @@
 .Vb 3
 \&      return(0) if $char_shoud_be_ignored;
-\&      return($proposed_char)    # Accept the char
+\&      return(ord $proposed_char) # return ascii code of
+\&                                 # char to be inserted
 \&    }
 .Vb 1
@@ -377,7 +378,8 @@
 .Vb 3
 \&                        return(0) if $char_shoud_be_ignored;
-\&                        return($proposed_char)  # Accept the char
+\&                        return(ord $proposed_char) # return ascii code of
+\&                                                   # char to be inserted
 \&                      });
 As can be seen, filter callbacks receive a char and an integer which

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux ray 2.4.20-2-686 #9 Fri Sep 12 20:41:02 EST 2003 i686

Versions of packages libnewt-perl depends on:
ii  libc6                        2.2.5-11.5  GNU C Library: Shared libraries an
ii  libnewt0                     0.50.17-9.6 Not Erik's Windowing Toolkit - tex
ii  perl                         5.6.1-8.7   Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.6.1]    5.6.1-8.7   The Pathologically Eclectic Rubbis

Received: (at 253672-close) by bugs.debian.org; 9 Jul 2005 10:41:58 +0000
>From katie@ftp-master.debian.org Sat Jul 09 03:41:58 2005
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 1DrCmU-0004Tc-00; Sat, 09 Jul 2005 03:41:58 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DrCdM-0007ns-00; Sat, 09 Jul 2005 06:32:32 -0400
From: Stephen Quinney <sjq@debian.org>
To: 253672-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#253672: fixed in libnewt-perl 1.08-10
Message-Id: <E1DrCdM-0007ns-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 09 Jul 2005 06:32:32 -0400
Delivered-To: 253672-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02

Source: libnewt-perl
Source-Version: 1.08-10

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

  to pool/main/libn/libnewt-perl/libnewt-perl_1.08-10.diff.gz
  to pool/main/libn/libnewt-perl/libnewt-perl_1.08-10.dsc
  to pool/main/libn/libnewt-perl/libnewt-perl_1.08-10_i386.deb

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 253672@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Stephen Quinney <sjq@debian.org> (supplier of updated libnewt-perl 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: Sat,  9 Jul 2005 11:18:50 +0100
Source: libnewt-perl
Binary: libnewt-perl
Architecture: source i386
Version: 1.08-10
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Stephen Quinney <sjq@debian.org>
 libnewt-perl - Perl bindings for Erik Troan's newt text-mode windowing toolkit
Closes: 253672
 libnewt-perl (1.08-10) unstable; urgency=low
   * QA Upload
   * Applied patch to docs, thanks to Christian Recktenwald,
     closes: #253672.
 b198273a559e76652941d4a1e3f79f96 613 perl optional libnewt-perl_1.08-10.dsc
 ad4dc25db1973ce240ffd46f2dd22aa0 25093 perl optional libnewt-perl_1.08-10.diff.gz
 24440bb5c05515c9e9c909aa335e3385 83790 perl optional libnewt-perl_1.08-10_i386.deb

Version: GnuPG v1.4.1 (GNU/Linux)


Reply to: