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

Bug#226711: marked as done ([PATCH] fix off-by-one-line behavior in example bot after saving)

Your message dated Sat, 10 Jan 2004 05:02:18 -0500
with message-id <E1AfFwg-0006cj-00@auric.debian.org>
and subject line Bug#226711: fixed in megahal 9.0.3+20030103-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; 8 Jan 2004 01:20:40 +0000
>From matt@zigg.com Wed Jan 07 19:20:39 2004
Return-path: <matt@zigg.com>
Received: from front1.chartermi.net [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AeKwD-0004BO-00; Wed, 07 Jan 2004 15:10:01 -0600
Received: from [] (HELO megaweapon.zigg.local)
  by front1.chartermi.net (CommuniGate Pro SMTP 4.0.6)
  with ESMTP id 206408500 for submit@bugs.debian.org; Wed, 07 Jan 2004 16:10:00 -0500
Received: from megaweapon.zigg.local (localhost [IPv6:::1])
	by megaweapon.zigg.local (8.12.9/8.12.2) with ESMTP id i07L9t4S021206
	for <submit@bugs.debian.org>; Wed, 7 Jan 2004 16:09:55 -0500 (EST)
Received: (from matt@localhost)
	by megaweapon.zigg.local (8.12.9/8.12.9/Submit) id i07L9onX010850
	for submit@bugs.debian.org; Wed, 7 Jan 2004 16:09:50 -0500 (EST)
Date: Wed, 7 Jan 2004 16:09:50 -0500
From: Matt Behrens <matt@zigg.com>
To: submit@bugs.debian.org
Subject: [PATCH] fix off-by-one-line behavior in example bot after saving
Message-ID: <20040107210950.GA3900@zigg.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c"
Content-Disposition: inline
User-Agent: Mutt/1.4.1i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: megahal
Version: 9.0.3-7

When the example bot saves, megahal says something random.  That
appears to stick in the buffer and the bot begins responding not
to the current query but the query immediately before.

This patch fixes that problem.

Matt Behrens <matt@zigg.com> <URL:http://zigg.com/>

--- /usr/share/doc/megahal/examples/Hal.pm      2000-09-01 13:36:58.0000000=
00 -0400
+++ Hal.pm      2004-01-07 16:04:26.000000000 -0500
@@ -86,7 +86,7 @@
 # Save brain.
 sub save {
-       syswrite(WRITE,"#save\n\n",8);
+       syswrite(WRITE,"#quiet\n\n#save\n\n#quiet\n\n");
 # Set a socket into nonblocking mode.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.1 (OpenBSD)



Received: (at 226711-close) by bugs.debian.org; 11 Jan 2004 10:05:30 +0000
>From katie@auric.debian.org Sun Jan 11 04:05:30 2004
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AfG5W-0004Jt-00; Sat, 10 Jan 2004 04:11:26 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1AfFwg-0006cj-00; Sat, 10 Jan 2004 05:02:18 -0500
From: Laurent Fousse <laurent@komite.net>
To: 226711-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#226711: fixed in megahal 9.0.3+20030103-1
Message-Id: <E1AfFwg-0006cj-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sat, 10 Jan 2004 05:02:18 -0500
Delivered-To: 226711-close@bugs.debian.org

Source: megahal
Source-Version: 9.0.3+20030103-1

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

  to pool/main/m/megahal/megahal_9.0.3+20030103-1.diff.gz
  to pool/main/m/megahal/megahal_9.0.3+20030103-1.dsc
  to pool/main/m/megahal/megahal_9.0.3+20030103-1_i386.deb
  to pool/main/m/megahal/megahal_9.0.3+20030103.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 226711@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Laurent Fousse <laurent@komite.net> (supplier of updated megahal 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: Thu,  8 Jan 2004 20:29:09 +0100
Source: megahal
Binary: megahal
Architecture: source i386
Version: 9.0.3+20030103-1
Distribution: unstable
Urgency: low
Maintainer: Laurent Fousse <laurent@komite.net>
Changed-By: Laurent Fousse <laurent@komite.net>
 megahal    - conversation simulator that can learn as you talk to it
Closes: 117336 164903 169805 183197 201133 201904 226711
 megahal (9.0.3+20030103-1) unstable; urgency=low
   * New maintainer (closes: #164903, #183197).
   * Packaged latest CVS version (closes: #201904).
   * Added perl script for quick importation of text files
     (closes: #117336, #169805).
   * Updated megahal_interfaces(3) manpage.
   * Changed menu section to Apps/Science (closes: #201133).
   * Updated copyright file.
   * Changed Standards-Versions to
   * Added patch by Matt Behrens for the example bot (closes: #226711).
   * Cleaned code wrt signedness and tests.
   * Follow best short description practices and drop the article.
 b6529f5ff66be96bc771089bc85f3979 660 misc optional megahal_9.0.3+20030103-1.dsc
 b95af4fd21afc0d97c6addbf613ae099 80168 misc optional megahal_9.0.3+20030103.orig.tar.gz
 9cc6127ab1e09d649755328e6c9975bb 11584 misc optional megahal_9.0.3+20030103-1.diff.gz
 461b49e8a2f9ab36ec82fc3307e6a47c 96652 misc optional megahal_9.0.3+20030103-1_i386.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: