Stupid bug in TkRat 1.2

Date view Thread view Subject view Author view

From: Martin Forssén (maf@dtek.chalmers.se)
Date: Tue Jul 14 1998 - 23:23:51 MET DST


Received: (from maf@localhost) by seldon.dtek.chalmers.se (8.8.8/8.8.8) id XAA11582; Tue, 14 Jul 1998 23:24:25 +0200 (MET DST)
Resent-Date: Tue, 14 Jul 1998 23:24:25 +0200 (MET DST)
Message-Id: <199807142124.XAA27872@monet.math.chalmers.se>
Date: Tue, 14 Jul 1998 23:23:51 +0200 (MET DST)
From: Martin Forssén <maf@dtek.chalmers.se>
Subject: Stupid bug in TkRat 1.2
To: TkRat Announcements <ratatosk-announce@dtek.chalmers.se>, TkRat list <ratatosk@dtek.chalmers.se>
Content-Type: MULTIPART/mixed; BOUNDARY="8323328-1169529124-900451436=:4136"
Resent-Message-ID: <"qYwcXD.A.c0C.Cy8q1"@seldon.dtek.chalmers.se>
Resent-From: ratatosk@dtek.chalmers.se
X-Mailing-List: <ratatosk@dtek.chalmers.se> archive/latest/83
X-Loop: ratatosk@dtek.chalmers.se
Precedence: list
Resent-Sender: ratatosk-request@dtek.chalmers.se

Content-Type: TEXT/plain; charset=us-ascii

Those of you who were fast in getting 1.2 got a version which often may
fail to send messages (you get an error window instead).

I have updated the 1.2 copy on my website (and ftp-site). The fixed
version reports a version date of 19980715 (the bad one 19980714). If
you have the version dated 19980714 you can patch it with the attached
patch.

My apologies for this small lapse. Big thanks gos to Muhammad A Muquit
who was the first to report the bug.

        /MaF

Content-Type: TEXT/plain; CHARSET=US-ASCII
Content-Description: 1.2patch

Index: tkrat/tkrat
===================================================================
RCS file: /usr/site/share/cvsroot/ratatosk/tkrat/tkrat,v
retrieving revision 1.133.2.4
diff -c -r1.133.2.4 tkrat
*** tkrat 1998/07/14 18:59:26 1.133.2.4
--- tkrat 1998/07/14 21:11:54
***************
*** 9,15 ****
  # Version numbers
  #
  set tkrat_version 1.2
! set tkrat_version_date 19980714
  
  # The version history
  set ratHistory {0.50 0.51 0.52 0.53 0.54 0.55 0.56 0.57 0.58 0.59
--- 9,15 ----
  # Version numbers
  #
  set tkrat_version 1.2
! set tkrat_version_date 19980715
  
  # The version history
  set ratHistory {0.50 0.51 0.52 0.53 0.54 0.55 0.56 0.57 0.58 0.59
Index: tkrat/compose.tcl
===================================================================
RCS file: /usr/site/share/cvsroot/ratatosk/tkrat/compose.tcl,v
retrieving revision 1.119.2.7
diff -c -r1.119.2.7 compose.tcl
*** compose.tcl 1998/07/14 18:57:34 1.119.2.7
--- compose.tcl 1998/07/14 21:07:37
***************
*** 1103,1108 ****
--- 1103,1117 ----
      global option t composeAdrHdrList
      upvar #0 $handler mh
  
+ if ![info exists mh(to)] {
+ set mh(to) ""
+ }
+ if ![info exists mh(cc)] {
+ set mh(cc) ""
+ }
+ if ![info exists mh(bcc)] {
+ set mh(bcc) ""
+ }
      if { 0 == [string length "$mh(to)$mh(cc)$mh(bcc)"]} {
          Popup $t(need_to)
          return 1
Index: doc/changes
===================================================================
RCS file: /usr/site/share/cvsroot/ratatosk/doc/changes,v
retrieving revision 1.411.2.25
diff -c -r1.411.2.25 changes
*** changes 1998/07/14 18:59:25 1.411.2.25
--- changes 1998/07/14 20:48:52
***************
*** 1,6 ****
--- 1,9 ----
  This file lists the changes made to TkRat between versions. It is much
  more detailed than the changes shown to the user when starting a new version.
  
+ 980714: (bug fix) Could get error when sending messages (if one had disabled
+ the cc-field display.
+
  980714: ***** released version 1.2 *****
  
  980714: (bug fix) Merged a number of bug fixes from 2.0.


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Jun 10 2000 - 22:40:37 MET DST