Your message dated Wed, 26 Jul 2006 23:57:18 +0200
with message-id <[EMAIL PROTECTED]>
and subject line done in 1.0-1 upload
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)

--- Begin Message ---
Package: mailutils
Severity: normal



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


I reported the bug to [EMAIL PROTECTED]

Below is some resulting correspondence between me and
Sergey Poznyakoff.

A patch from Sergey Poznyakoff is included.

oo--JS.


---------- Forwarded message ----------
Date: Fri, 26 May 2006 10:27:23 +0300
From: Sergey Poznyakoff <[EMAIL PROTECTED]>
To: Jay Sulzberger <[EMAIL PROTECTED]>
Cc: [email protected]
Subject: Re: [bug-mailutils] How do I run guimb with a repl?

Jay Sulzberger <[EMAIL PROTECTED]> wrote:

I think that once something like

  guimb -c '(top-repl)'

gave me a repl.

Yes, that should have worked. Thank you for spotting a bug. Here is
the patch:

Index: guimb/main.c
===================================================================
RCS file: /cvsroot/mailutils/mailutils/guimb/main.c,v
retrieving revision 1.27
diff -p -u -r1.27 main.c
--- guimb/main.c        26 Aug 2005 14:23:32 -0000      1.27
+++ guimb/main.c        26 May 2006 07:21:43 -0000
@@ -147,6 +147,7 @@ int
 main (int argc, char *argv[])
 {
   int c = argc;
+  int index;
   mu_guimb_param_t param;
   struct guimb_data gd;

@@ -155,10 +156,10 @@ main (int argc, char *argv[])

   append_arg ("");
   mu_argp_init (program_version, NULL);
-  mu_argp_parse (&argp, &argc, &argv, 0, guimb_argp_capa, NULL, &c);
-
+  mu_argp_parse (&argp, &argc, &argv, 0, guimb_argp_capa, &index, &c);
+
   for (; c < argc; c++)
-      append_arg (argv[c]);
+    append_arg (argv[c]);

   if (!user_name)
     user_name = who_am_i ();
@@ -174,7 +175,7 @@ main (int argc, char *argv[])
   /* Register the desired formats. */
   mu_register_all_formats ();

-  if (!argv[optind])
+  if (!argv[index])
     {
       if (default_mailbox)
        append_arg (default_mailbox);
@@ -184,12 +185,12 @@ main (int argc, char *argv[])
     {
       collect_open_mailbox_file ();

-      if (argv[optind])
+      if (argv[index])
        {
-         for (; argv[optind]; optind++)
+         for (; argv[index]; index++)
            {
-             append_arg (argv[optind]);
-             collect_append_file (argv[optind]);
+             append_arg (argv[index]);
+             collect_append_file (argv[index]);
            }
        }
       else


Regards,
Sergey



--- End Message ---
--- Begin Message ---
Version: 1:1.0-1

The 1.0-1 upload didn't close the following bugs, which were closed by a
version not uploaded to the archive.

mailutils (1:0.6.95-1) unstable; urgency=low

  * New upstream release.
    - fixes behaviour of top-repl (closes: #369026).
  * debian/libmailutils1.install: install mailutils.scm (closes: #373113).

Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[EMAIL PROTECTED]     [EMAIL PROTECTED]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to