Subject: bug in 4.42

From: Joel Boonstra <[email-masked]>
Date: Fri, 23 Nov 2001 16:36:48 -0500 (EST)

Hey,

I just downloaded and built 4.42 for use on my Redhat 7.1 machine (while
watching the 'Junkyard Wars' marathon on TLC!).  The 'answered' bug
doesn't seem to be fixed quite yet in 4.42.  Here's how I reproduce the
bug.

In my INBOX, I (r)eply to a message in the box.  I type some text in the
reply, but p^Ostpone it before sending.  I then (g)o to a different folder
(either an incoming-folder or a reglur folder), then (c)ompose, (y) to
continue the postponed message, perhaps add some more text to the message,
then send.  If I go back to my INBOX, I find that the Answered flag hasn't
been updated, even though examining my Journal, Pine has told me that it
was updating Answered flags.

I have re-opened the IMAP connection by quitting and opening pine again,
and the answered flag is still not updated on the message I replied to.
I have not tried applying Eduardo's patch (that he wrote for 4.41) on 4.42
yet -- I just found this bug and figured I'd see if others are
experiencing it as well.

I welcome any input!

-- 
[ joel boonstra | [email-masked] ]

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Fri, 23 Nov 2001 16:24:13 -0800 (PST)

*** Joel Boonstra ([email-masked]) wrote in the pine-info list today:

:) I just downloaded and built 4.42 for use on my Redhat 7.1 machine
:) (while watching the 'Junkyard Wars' marathon on TLC!). The 'answered'
:) bug doesn't seem to be fixed quite yet in 4.42. Here's how I reproduce
:) the bug.

Ouch!, you are right. The problem occurs because of a check in a function
that only checks equality in the stream but not the in the mailbox. I've
extended that function to force that check too, and a patch can be found
in my web page. My patch for 4.41 also suffered from the same problem,
I've updated that one as well.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/